summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-01-14 00:39:18 +0000
committerAndrew Tridgell <tridge@samba.org>2003-01-14 00:39:18 +0000
commitcfe3a1731c0cc2d66781909c9b12a111455edd37 (patch)
tree665231e7bb95f4e1548f358d7f91c44302e51e9a /source3
parenta865f61e818152585f73ec9cce5b8bb680d21fd4 (diff)
downloadsamba-cfe3a1731c0cc2d66781909c9b12a111455edd37.tar.gz
samba-cfe3a1731c0cc2d66781909c9b12a111455edd37.tar.bz2
samba-cfe3a1731c0cc2d66781909c9b12a111455edd37.zip
clearer debug message when the user is already in the ldap db
(This used to be commit 31894ba0e5847eb934688598cd8d65bead23c58b)
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_ldap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 7c3c6f1f1f..928562d29d 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -1854,7 +1854,8 @@ static NTSTATUS ldapsam_add_sam_account(struct pdb_methods *my_methods, SAM_ACCO
}
if (ldap_count_entries(ldap_state->ldap_struct, result) != 0) {
- DEBUG(0,("User already in the base, with samba properties\n"));
+ DEBUG(0,("User '%s' already in the base, with samba properties\n",
+ username));
ldap_msgfree(result);
return NT_STATUS_UNSUCCESSFUL;
}