summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-10-19 17:30:05 +0000
committerJean-François Micouleau <jfm@samba.org>2001-10-19 17:30:05 +0000
commit4be5c040b6463b066ca5adec7a85dc6f87d9fb97 (patch)
tree553b59a0f9b962e2e87f319f69a04628b9d86157 /source3/smbd
parent78b109e43b4d6fc7d4d45974090edc991d24c2d2 (diff)
downloadsamba-4be5c040b6463b066ca5adec7a85dc6f87d9fb97.tar.gz
samba-4be5c040b6463b066ca5adec7a85dc6f87d9fb97.tar.bz2
samba-4be5c040b6463b066ca5adec7a85dc6f87d9fb97.zip
print in a human readable format when the password expired.
J.F. (This used to be commit 255b197a5c92bfc18a567613bbffb013fd0a834d)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/auth_smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/auth_smbpasswd.c b/source3/smbd/auth_smbpasswd.c
index 26b9001bf6..a525248461 100644
--- a/source3/smbd/auth_smbpasswd.c
+++ b/source3/smbd/auth_smbpasswd.c
@@ -260,7 +260,7 @@ NTSTATUS sam_account_ok(SAM_ACCOUNT *sampass, const auth_usersupplied_info *user
/* check for expired password */
if (must_change_time < time(NULL) && must_change_time != 0) {
DEBUG(1,("Account for user '%s' password expired!.\n", sampass->username));
- DEBUG(1,("Password expired at '%ld' unix time.\n", (long)must_change_time));
+ DEBUG(1,("Password expired at '%s' (%ld) unix time.\n", http_timestring(must_change_time), (long)must_change_time));
return NT_STATUS_PASSWORD_EXPIRED;
}
}