summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-10-30 20:09:13 +0000
committerJeremy Allison <jra@samba.org>2003-10-30 20:09:13 +0000
commitf23c2ff0a03dfcfb57d1fa750a142a1f470f479b (patch)
treed87329a43ba8a58dcae4c10e6fb8bcd352f31d12
parent057c031d06a4c58a6a66fc71ea8c33f9b0913a0a (diff)
downloadsamba-f23c2ff0a03dfcfb57d1fa750a142a1f470f479b.tar.gz
samba-f23c2ff0a03dfcfb57d1fa750a142a1f470f479b.tar.bz2
samba-f23c2ff0a03dfcfb57d1fa750a142a1f470f479b.zip
If nothing to do, return success. Fix from Aur?lien Degr?mont <adegremont@idealx.com>
Jeremy. (This used to be commit aa668a0206b027923a333417309cb483c5a64265)
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index fdc79ae2ab..e0148494d3 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -1987,7 +1987,7 @@ static NTSTATUS ldapsam_update_group_mapping_entry(struct pdb_methods *methods,
if (mods == NULL) {
DEBUG(4, ("ldapsam_update_group_mapping_entry: mods is empty: nothing to do\n"));
- return NT_STATUS_UNSUCCESSFUL;
+ return NT_STATUS_OK;
}
dn = smbldap_get_dn(ldap_state->smbldap_state->ldap_struct, entry);