From: Björn Jacke Date: Thu, 7 May 2009 15:50:34 +0000 (+0200) Subject: s3/ldap: also handle DirX return codes X-Git-Tag: tdb-1.1.5~687 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=f238809d236443b8968e1b4b197a55935c7c7e85 s3/ldap: also handle DirX return codes --- diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 01d3da87862..01b2eeced75 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -3270,6 +3270,7 @@ static NTSTATUS ldapsam_delete_group_mapping_entry(struct pdb_methods *methods, groupmap_attr_list_to_delete)); if ((rc == LDAP_NAMING_VIOLATION) || + (rc == LDAP_NOT_ALLOWED_ON_RDN) || (rc == LDAP_OBJECT_CLASS_VIOLATION)) { const char *attrs[] = { "sambaGroupType", "description", "displayName", "sambaSIDList", @@ -3284,6 +3285,7 @@ static NTSTATUS ldapsam_delete_group_mapping_entry(struct pdb_methods *methods, } if ((rc == LDAP_NAMING_VIOLATION) || + (rc == LDAP_NOT_ALLOWED_ON_RDN) || (rc == LDAP_OBJECT_CLASS_VIOLATION)) { const char *attrs[] = { "sambaGroupType", "description", "displayName", "sambaSIDList",