#ldap #tarantool #tarantool-module #picodata

ldapico

Wrapper over ldap3 for use with tarantool-module

1 unstable release

0.1.0 Feb 6, 2023

#15 in #tarantool

Download history 2/week @ 2024-03-08 2/week @ 2024-03-15 3/week @ 2024-03-22 16/week @ 2024-03-29 25/week @ 2024-04-05 50/week @ 2024-04-12 26/week @ 2024-04-19 10/week @ 2024-04-26 13/week @ 2024-05-03 23/week @ 2024-05-10 1/week @ 2024-05-17 76/week @ 2024-05-24 132/week @ 2024-05-31 37/week @ 2024-06-07 25/week @ 2024-06-14 2/week @ 2024-06-21

233 downloads per month

BSD-2-Clause

7KB
100 lines

Ldapico

Latest Version Docs badge

Wrapper over ldap3 for use with tarantool-module.

View the examples directory on how to create a function for use with tarantool-module.

Simple example

use ldapico::Ldap;
use tokio::sync::oneshot::channel;

fn main() {
    let ldap = Ldap::new("ldap://127.0.0.1:389");
    let (tx, rx) = channel();
    ldap.simple_bind(tx, "cn=user1,ou=users,dc=example,dc=org", "pwd1");
    let result = rx.blocking_recv().unwrap().unwrap();
    assert!(result.success().is_ok());
}

Dependencies

~6–18MB
~224K SLoC