summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/smbd/chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c
index 0b8dbfb492b..7c6886b81c9 100644
--- a/source/smbd/chgpasswd.c
+++ b/source/smbd/chgpasswd.c
@@ -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;
}