summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-03-19 14:56:50 +0000
committerVolker Lendecke <vlendec@samba.org>2003-03-19 14:56:50 +0000
commit91d55a509a80a63d3a2302c10d1fe5300e424ae7 (patch)
treeff5c5c82ec95ff9c5c1542d50bbe02aa353ba23d /source3/passdb
parent043a5337e46db52d1866e5d17012b4d5ed133a36 (diff)
downloadsamba-91d55a509a80a63d3a2302c10d1fe5300e424ae7.tar.gz
samba-91d55a509a80a63d3a2302c10d1fe5300e424ae7.tar.bz2
samba-91d55a509a80a63d3a2302c10d1fe5300e424ae7.zip
If we fail, return an error code :-)
Volker (This used to be commit a5218499eb3f0a62cd663a06157591fbb0dfcbef)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index d512a4fda3..24d3b6f448 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -2361,6 +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;
}
DEBUG(2, ("successfully delete group mapping %s in LDAP\n",