Struct cldap::RustLDAP [] [src]

pub struct RustLDAP { /* fields omitted */ }

Methods

impl RustLDAP
[src]

Create a new RustLDAP struct and use an ffi call to ldap_initialize to allocate and init a c LDAP struct. All of that is hidden inside of RustLDAP.

Perform a synchronos simple bind (ldap_simple_bind_s). The result is either Ok(LDAP_SUCCESS) or Err(ldap_err2string).