summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2022-03-16 15:19:54 +1300
committerAndrew Bartlett <abartlet@samba.org>2022-03-29 02:33:34 +0000
commit1884bc11f0115078113253d48be684c32cb3c5f9 (patch)
treeb07553395dd5ba1063296e74e037a705e813b4a6 /source4/auth
parent14e7112734bbb31db99e394323ef2cb31385ebf7 (diff)
downloadsamba-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.c6
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);