ldap-rs 0.5.1

LDAP client for Rust
Documentation

LDAP client library for Rust

github actions crates license license docs.rs

Overview

LDAP client library for Rust with async/await support, based on tokio. TLS connectivity is supported via native-tls or rustls. It is controlled by the feature flags tls-native-tls and tls-rustls, respectively.

A minimal Kerberos support is provided via gssapi feature flag with the following limitations:

  • SASL protection is not supported for plain connections, use TLS connection.
  • Channel binding is not supported.

Features

  • Simple bind with username and password
  • SASL EXTERNAL bind
  • Kerberos GSSAPI bind (SASL protection is not implemented, use TLS instead)
  • Plain, TLS and STARTTLS connections
  • Simple search and paged search via asynchronous streams
  • Extended ProtocolOp client operations (add, modify, delete)

Usage

Check the examples directory for usage examples.

License

Licensed under MIT or Apache license (LICENSE-MIT or LICENSE-APACHE)