clearer debug message when the user is already in the ldap db
authorAndrew Tridgell <tridge@samba.org>
Tue, 14 Jan 2003 00:39:18 +0000 (00:39 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 14 Jan 2003 00:39:18 +0000 (00:39 +0000)
(This used to be commit 31894ba0e5847eb934688598cd8d65bead23c58b)

source3/passdb/pdb_ldap.c

index 7c3c6f1f1fe1f27c2f109c31b7bf980a138b6bf8..928562d29dc45a62d5d8e578fbdf46322c998918 100644 (file)
@@ -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;
        }