diff options
author | Andrew Bartlett <abartlet@samba.org> | 2022-03-16 15:19:54 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2022-03-29 02:33:34 +0000 |
commit | 1884bc11f0115078113253d48be684c32cb3c5f9 (patch) | |
tree | b07553395dd5ba1063296e74e037a705e813b4a6 /source4/auth | |
parent | 14e7112734bbb31db99e394323ef2cb31385ebf7 (diff) | |
download | samba-1884bc11f0115078113253d48be684c32cb3c5f9.tar.gz |
s4-auth: Remove unused acct_flags parameter
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/ntlm/auth_sam.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/auth/ntlm/auth_sam.c b/source4/auth/ntlm/auth_sam.c index 60795c40723..8ece2697700 100644 --- a/source4/auth/ntlm/auth_sam.c +++ b/source4/auth/ntlm/auth_sam.c @@ -52,7 +52,6 @@ extern const char *domain_ref_attrs[]; ****************************************************************************/ static NTSTATUS authsam_password_ok(struct auth4_context *auth_context, TALLOC_CTX *mem_ctx, - uint16_t acct_flags, const struct samr_Password *nt_pwd, const struct auth_usersupplied_info *user_info, DATA_BLOB *user_sess_key, @@ -207,7 +206,6 @@ static NTSTATUS authsam_password_check_and_record(struct auth4_context *auth_con TALLOC_CTX *mem_ctx, struct ldb_dn *domain_dn, struct ldb_message *msg, - uint16_t acct_flags, const struct auth_usersupplied_info *user_info, DATA_BLOB *user_sess_key, DATA_BLOB *lm_sess_key, @@ -273,7 +271,6 @@ static NTSTATUS authsam_password_check_and_record(struct auth4_context *auth_con } auth_status = authsam_password_ok(auth_context, tmp_ctx, - acct_flags, nt_pwd, user_info, user_sess_key, lm_sess_key); @@ -369,7 +366,6 @@ static NTSTATUS authsam_password_check_and_record(struct auth4_context *auth_con } auth_status = authsam_password_ok(auth_context, tmp_ctx, - acct_flags, nt_history_pwd, user_info, user_sess_key, @@ -551,7 +547,7 @@ static NTSTATUS authsam_authenticate(struct auth4_context *auth_context, } nt_status = authsam_password_check_and_record(auth_context, tmp_ctx, - domain_dn, msg, acct_flags, + domain_dn, msg, user_info, user_sess_key, lm_sess_key, authoritative); |