From a5218499eb3f0a62cd663a06157591fbb0dfcbef Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 19 Mar 2003 14:56:50 +0000 Subject: [PATCH] If we fail, return an error code :-) Volker --- source/passdb/pdb_ldap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c index d512a4fda32..24d3b6f4482 100644 --- a/source/passdb/pdb_ldap.c +++ b/source/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", -- 2.11.4.GIT