summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2010-02-21 17:33:28 +1100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-22 21:45:37 +0100
commit4b024683acba72c1b8618155a45f32e6437878d1 (patch)
treead64f14e41c5c6a8abf7ca57291eb49366ce6a95 /source4
parent3eacc83b35f65603e41bc36d6c42608fc22912f6 (diff)
downloadsamba-4b024683acba72c1b8618155a45f32e6437878d1.tar.gz
samba-4b024683acba72c1b8618155a45f32e6437878d1.tar.bz2
samba-4b024683acba72c1b8618155a45f32e6437878d1.zip
Spelling fixes for source4/auth.
The comment for USER_INFO_INTERACTIVE_LOGON looks like a cut-n-paste from the line above. Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Diffstat (limited to 'source4')
-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,