summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/auth/auth.h4
-rw-r--r--source4/auth/sam.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/auth.h b/source4/auth/auth.h
index 827b441478..b0a907f624 100644
--- a/source4/auth/auth.h
+++ b/source4/auth/auth.h
@@ -45,8 +45,8 @@ struct loadparm_context;
#define USER_INFO_CASE_INSENSITIVE_USERNAME 0x01 /* username may be in any case */
#define USER_INFO_CASE_INSENSITIVE_PASSWORD 0x02 /* password may be in any case */
-#define USER_INFO_DONT_CHECK_UNIX_ACCOUNT 0x04 /* dont check unix account status */
-#define USER_INFO_INTERACTIVE_LOGON 0x08 /* dont check unix account status */
+#define USER_INFO_DONT_CHECK_UNIX_ACCOUNT 0x04 /* don't check unix account status */
+#define USER_INFO_INTERACTIVE_LOGON 0x08 /* don't check unix account status */
enum auth_password_state {
AUTH_PASSWORD_RESPONSE,
diff --git a/source4/auth/sam.c b/source4/auth/sam.c
index 9d841e4e9b..7d2f249b06 100644
--- a/source4/auth/sam.c
+++ b/source4/auth/sam.c
@@ -149,7 +149,7 @@ static bool logon_hours_ok(struct ldb_message *msg, const char *name_for_logs)
}
/****************************************************************************
- Do a specific test for a SAM_ACCOUNT being vaild for this connection
+ Do a specific test for a SAM_ACCOUNT being valid for this connection
(ie not disabled, expired and the like).
****************************************************************************/
_PUBLIC_ NTSTATUS authsam_account_ok(TALLOC_CTX *mem_ctx,