summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-05 03:27:04 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-05 03:27:04 +0000
commitb745d8b1cdadcc8836514f1a1a11467db94db6f4 (patch)
treeda4f88b96cc8ab8b4ca4e6f67103ac479979e9dc /source3/passdb
parentab9ff0fa73f33c064a39859e39fa79af77cc088f (diff)
downloadsamba-b745d8b1cdadcc8836514f1a1a11467db94db6f4.tar.gz
samba-b745d8b1cdadcc8836514f1a1a11467db94db6f4.tar.bz2
samba-b745d8b1cdadcc8836514f1a1a11467db94db6f4.zip
Try to make this easier to debug - display the username that failed.
Andrew Bartlett (This used to be commit 8405bccd4e7a5315e58890ffa5d481031636f88a)
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 8575d8b30f..51d26825e3 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -1281,7 +1281,7 @@ static BOOL ldapsam_getsampwnam(struct pdb_methods *my_methods, SAM_ACCOUNT * us
if (entry)
{
if (!init_sam_from_ldap(ldap_state, user, ldap_struct, entry)) {
- DEBUG(1,("ldapsam_getsampwnam: init_sam_from_ldap failed!\n"));
+ DEBUG(1,("ldapsam_getsampwnam: init_sam_from_ldap failed for user '%s'!\n", sname));
ldap_msgfree(result);
ldap_unbind(ldap_struct);
return False;