ldap-rs

Crates.ioldap-rs
lib.rsldap-rs
version0.5.2
created_at2022-05-31 07:07:29.971489+00
updated_at2025-09-19 06:46:20.179736+00
descriptionLDAP client for Rust
homepage
repositoryhttps://github.com/ancwrd1/ldap-rs
max_upload_size
id597310
size117,066
Dmitry Pankratov (ancwrd1)

documentation

https://docs.rs/ldap-rs

README

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)

Commit count: 130

cargo fmt