Function ldap_utils::apply_ldap_operations
source · [−]pub async fn apply_ldap_operations(
ldap: &mut Ldap,
ldap_base_dn: &str,
ldap_operations: &[LDAPOperation],
controls: Vec<RawControl>
) -> Result<(), LdapOperationError>
Expand description
apply the LDAP operations on a given LDAP server.
The operations should not include the Base-DN in its internally stored DNs It will be added automatically. This allows for easier generation of comparisons between objects on two different LDAP servers with different base DNs.