summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_ldap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-03-19 14:58:20 +0000
committerVolker Lendecke <vlendec@samba.org>2003-03-19 14:58:20 +0000
commit97575a9ba7d772e6533297d958deb082c8b09d8e (patch)
tree664e4e05c4b6109c8aa09df7bfebbae8c52feb8a /source3/passdb/pdb_ldap.c
parent91d55a509a80a63d3a2302c10d1fe5300e424ae7 (diff)
downloadsamba-97575a9ba7d772e6533297d958deb082c8b09d8e.tar.gz
samba-97575a9ba7d772e6533297d958deb082c8b09d8e.tar.bz2
samba-97575a9ba7d772e6533297d958deb082c8b09d8e.zip
Hey -- there is an error code NT_STATUS_CANNOT_DELETE :-)
(This used to be commit aa9b8382d38346cb3e94ddf2e7caf6d663034579)
Diffstat (limited to 'source3/passdb/pdb_ldap.c')
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 24d3b6f448..7b54a1d6e3 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -2361,7 +2361,7 @@ static NTSTATUS ldapsam_delete_group_mapping_entry(struct pdb_methods *methods,
if (rc != LDAP_SUCCESS) {
DEBUG(0, ("failed to delete group %s\n", sidstring));
- return NT_STATUS_UNSUCCESSFUL;
+ return NT_STATUS_CANNOT_DELETE;
}
DEBUG(2, ("successfully delete group mapping %s in LDAP\n",