diff options
-rw-r--r-- | source3/passdb/pdb_ldap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index d512a4fda3..fcb0234e98 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_CANNOT_DELETE; } DEBUG(2, ("successfully delete group mapping %s in LDAP\n", |