summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-05-07 17:50:34 +0200
committerBjörn Jacke <bj@sernet.de>2009-05-08 00:33:30 +0200
commitf238809d236443b8968e1b4b197a55935c7c7e85 (patch)
tree7316d922294acace4ecc5ba6a82cb1d14faed813 /source3
parentddd37c2b235eb03ddb438ebb2cdd14dd67f867f3 (diff)
downloadsamba-f238809d236443b8968e1b4b197a55935c7c7e85.tar.gz
samba-f238809d236443b8968e1b4b197a55935c7c7e85.tar.bz2
samba-f238809d236443b8968e1b4b197a55935c7c7e85.zip
s3/ldap: also handle DirX return codes
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 01d3da8786..01b2eeced7 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",