summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-10-30 20:09:44 +0000
committerJeremy Allison <jra@samba.org>2003-10-30 20:09:44 +0000
commit29f33e828720a01224f9fe40ac156a1c51be41ba (patch)
treecabb443e413cfc523f655983e51edb651ecb0353 /source3/passdb
parent2e65aa1b284f34d62f8b54ddb19d2d87d4379433 (diff)
downloadsamba-29f33e828720a01224f9fe40ac156a1c51be41ba.tar.gz
samba-29f33e828720a01224f9fe40ac156a1c51be41ba.tar.bz2
samba-29f33e828720a01224f9fe40ac156a1c51be41ba.zip
If nothing to do, return success. Fix from Aur?lien Degr?mont <adegremont@idealx.com>
Jeremy. (This used to be commit a92555e6060294afcfecc075bfac5c836f150b01)
Diffstat (limited to 'source3/passdb')
-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);