diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2023-05-09 14:06:23 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-05-18 01:03:37 +0000 |
commit | 9aaedb152ca2e4188b5329d6af1ffa91b97d1ffe (patch) | |
tree | 1e55d862dce9f5e21af7dc9e9c12abebcd6fd7ee | |
parent | e2e752b5461ab3806d8ac9165ee82a77dff6a063 (diff) | |
download | samba-9aaedb152ca2e4188b5329d6af1ffa91b97d1ffe.tar.gz |
s4:auth: Fix typos
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/auth/ntlm/auth.c | 2 | ||||
-rw-r--r-- | source4/auth/session.c | 2 | ||||
-rw-r--r-- | source4/auth/session.h | 4 | ||||
-rw-r--r-- | source4/auth/system_session.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c index abc9716ba74..7cfe56c9f6f 100644 --- a/source4/auth/ntlm/auth.c +++ b/source4/auth/ntlm/auth.c @@ -581,7 +581,7 @@ static NTSTATUS auth_generate_session_info_pac(struct auth4_context *auth_ctx, if (!pac_blob) { /* - * This should already be catched at the main + * This should already have been caught at the main * gensec layer, but better check twice */ return NT_STATUS_INTERNAL_ERROR; diff --git a/source4/auth/session.c b/source4/auth/session.c index bac644d443c..70dc4b19f9d 100644 --- a/source4/auth/session.c +++ b/source4/auth/session.c @@ -201,7 +201,7 @@ _PUBLIC_ NTSTATUS auth_generate_security_token(TALLOC_CTX *mem_ctx, } _PUBLIC_ NTSTATUS auth_generate_session_info(TALLOC_CTX *mem_ctx, - struct loadparm_context *lp_ctx, /* Optional, if you don't want privilages */ + struct loadparm_context *lp_ctx, /* Optional, if you don't want privileges */ struct ldb_context *sam_ctx, /* Optional, if you don't want local groups */ const struct auth_user_info_dc *user_info_dc, uint32_t session_info_flags, diff --git a/source4/auth/session.h b/source4/auth/session.h index ef736b58e31..900b6ab3365 100644 --- a/source4/auth/session.h +++ b/source4/auth/session.h @@ -29,7 +29,7 @@ struct tevent_context; struct ldb_context; struct ldb_dn; /* Create a security token for a session SYSTEM (the most - * trusted/prvilaged account), including the local machine account as + * trusted/privileged account), including the local machine account as * the off-host credentials */ struct auth_session_info *system_session(struct loadparm_context *lp_ctx) ; @@ -43,7 +43,7 @@ NTSTATUS auth_generate_security_token(TALLOC_CTX *mem_ctx, uint32_t session_info_flags, struct security_token **_security_token); NTSTATUS auth_generate_session_info(TALLOC_CTX *mem_ctx, - struct loadparm_context *lp_ctx, /* Optional, if you don't want privilages */ + struct loadparm_context *lp_ctx, /* Optional, if you don't want privileges */ struct ldb_context *sam_ctx, /* Optional, if you don't want local groups */ const struct auth_user_info_dc *interim_info, uint32_t session_info_flags, diff --git a/source4/auth/system_session.c b/source4/auth/system_session.c index ec6885a86e3..5c92cac9ecb 100644 --- a/source4/auth/system_session.c +++ b/source4/auth/system_session.c @@ -309,7 +309,7 @@ static NTSTATUS auth_domain_admin_session_info(TALLOC_CTX *parent_ctx, nt_status = auth_generate_session_info(mem_ctx, NULL, NULL, user_info_dc, AUTH_SESSION_INFO_SIMPLE_PRIVILEGES|AUTH_SESSION_INFO_AUTHENTICATED|AUTH_SESSION_INFO_DEFAULT_GROUPS, session_info); - /* There is already a reference between the sesion_info and user_info_dc */ + /* There is already a reference between the session_info and user_info_dc */ if (NT_STATUS_IS_OK(nt_status)) { talloc_steal(parent_ctx, *session_info); } |