summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",