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>
Mon, 7 Dec 2009 13:38:18 +0000 (14:38 +0100)
Karolin

source3/auth/auth_sam.c

index 26b45e47e5664821828cc7bc376bb0acad14df1e..f0500b3611728b8bbfed91b20222e35933902d6d 100644 (file)
@@ -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;
                }