summaryrefslogtreecommitdiffstats
path: root/source3/auth/auth_sam.c
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2009-12-07 14:38:18 +0100
committerKarolin Seeger <kseeger@samba.org>2009-12-07 14:38:18 +0100
commit71018ebe5303ca6e0f3e3e4b96ae45fb32d3e195 (patch)
tree9eda2d718792b77b47d6c34d128e8aa6b90aea04 /source3/auth/auth_sam.c
parentfe01e0e1a5a07ddefdc09f24d44c7e66886405b8 (diff)
downloadsamba-71018ebe5303ca6e0f3e3e4b96ae45fb32d3e195.tar.gz
samba-71018ebe5303ca6e0f3e3e4b96ae45fb32d3e195.tar.xz
samba-71018ebe5303ca6e0f3e3e4b96ae45fb32d3e195.zip
s3:auth: Fix typo in debug message.
Karolin
Diffstat (limited to 'source3/auth/auth_sam.c')
-rw-r--r--source3/auth/auth_sam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c
index 26b45e47e56..f0500b36117 100644
--- a/source3/auth/auth_sam.c
+++ b/source3/auth/auth_sam.c
@@ -206,13 +206,13 @@ static NTSTATUS sam_account_ok(TALLOC_CTX *mem_ctx,
/* check for immediate expiry "must change at next logon"
* for a user account. */
if (((acct_ctrl & (ACB_WSTRUST|ACB_SVRTRUST)) == 0) && (last_set_time == 0)) {
- DEBUG(1,("sam_account_ok: Account for user '%s' password must change!.\n", pdb_get_username(sampass)));
+ DEBUG(1,("sam_account_ok: Account for user '%s' password must change!\n", pdb_get_username(sampass)));
return NT_STATUS_PASSWORD_MUST_CHANGE;
}
/* check for expired password */
if (must_change_time < time(NULL) && must_change_time != 0) {
- DEBUG(1,("sam_account_ok: Account for user '%s' password expired!.\n", pdb_get_username(sampass)));
+ DEBUG(1,("sam_account_ok: Account for user '%s' password expired!\n", pdb_get_username(sampass)));
DEBUG(1,("sam_account_ok: Password expired at '%s' (%ld) unix time.\n", http_timestring(talloc_tos(), must_change_time), (long)must_change_time));
return NT_STATUS_PASSWORD_EXPIRED;
}