Skip to main content

connect

Function connect 

Source
pub async fn connect() -> Result<(Ldap, String), ConnectError>
Expand description

try to connect to an LDAP server using ldap3 using the OpenLDAP config files supplemented by hardcoded default values

ยงErrors

fails if OpenLDAP config could not be read or parsed or if the connection attempt with those parameters fails