1 个不稳定版本

0.1.0 2023年2月6日

#15#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

BSD-2-Clause

7KB
100

Ldapico

Latest Version Docs badge

tarantool-module 使用的 ldap3 封装。

查看示例目录,了解如何为 tarantool-module 创建函数。

简单示例

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());
}

依赖项

~6–18MB
~224K SLoC