s3:auth: Fix typo in debug message.
authorKarolin Seeger <kseeger@samba.org>
Mon, 7 Dec 2009 13:38:18 +0000 (14:38 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 23 Dec 2009 11:07:52 +0000 (12:07 +0100)
Karolin
(cherry picked from commit 71018ebe5303ca6e0f3e3e4b96ae45fb32d3e195)
(cherry picked from commit 626ae39f3952087e05cbcd42a049119860072bc8)
(cherry picked from commit e7e66fd949d970b03bce0812c6b934193ac9ff1c)

source3/auth/auth_sam.c

index f5d61e9a9b83563df33f4c3218ca756f85b85de5..fdfa292ff29427ec3a16c24ec8c77cf6f260680a 100644 (file)
@@ -169,13 +169,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;
                }