From 7f1771f26dcc334c32df332545d33937f8602bd6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Thu, 7 May 2009 17:50:34 +0200 Subject: [PATCH] s3/ldap: also handle DirX return codes this is a backport of f238809d236443b8968e1b4b197a55935c7c7e85 from master (cherry picked from commit 1b040289f14bb22d3b6ab07a452236549d6c9bf6) --- source/passdb/pdb_ldap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c index 0d54fe02cc7..9c135c16c66 100644 --- a/source/passdb/pdb_ldap.c +++ b/source/passdb/pdb_ldap.c @@ -3280,6 +3280,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", @@ -3294,6 +3295,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", -- 2.11.4.GIT