r19094: Fix debug statement.
authorGünther Deschner <gd@samba.org>
Thu, 5 Oct 2006 09:38:49 +0000 (09:38 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:15:11 +0000 (12:15 -0500)
Guenther

source/smbd/chgpasswd.c

index 0b8dbfb492bfcb0ff05cf7317c7b11862257a11a..7c6886b81c9ab039cd8bf1db57359c3184698253 100644 (file)
@@ -1029,7 +1029,7 @@ NTSTATUS change_oem_password(struct samu *hnd, char *old_passwd, char *new_passw
 
        /* check to see if the secdesc has previously been set to disallow */
        if (!pdb_get_pass_can_change(hnd)) {
-               DEBUG(1, ("user %s does not have permissions to change password\n"));
+               DEBUG(1, ("user %s does not have permissions to change password\n", username));
                if (samr_reject_reason) {
                        *samr_reject_reason = REJECT_REASON_OTHER;
                }