From 91d55a509a80a63d3a2302c10d1fe5300e424ae7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 19 Mar 2003 14:56:50 +0000 Subject: If we fail, return an error code :-) Volker (This used to be commit a5218499eb3f0a62cd663a06157591fbb0dfcbef) --- source3/passdb/pdb_ldap.c | 1 + 1 file changed, 1 insertion(+) 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", -- cgit