Function ldap_utils::diff_entries
source · pub fn diff_entries(
source_entries: &HashMap<String, LDAPEntry>,
destination_entries: &HashMap<String, LDAPEntry>,
source_base_dn: &str,
destination_base_dn: &str,
ignore_object_classes: &[String],
ignore_attributes: &[String],
source_ldap_schema: &LDAPSchema,
add: bool,
update: bool,
delete: bool
) -> Vec<LDAPOperation>
Expand description
diff two sets of LDAPEntries which had their base DNs removed and generates LDAP operations (add, update, delete) to apply to the destination to make it identical to the source