summaryrefslogtreecommitdiff
path: root/source4/auth/ntlm
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2019-06-07 13:41:35 +1200
committerAndreas Schneider <asn@cryptomilk.org>2019-06-13 07:16:22 +0000
commitae4461dce98a70740d8deabf4859cb96032bdf67 (patch)
treebb0e0a0061d20bb43d2d1d699940719adcd2baf9 /source4/auth/ntlm
parentbf6620c5f33175d06b90f41513a317b54e4f8ec6 (diff)
downloadsamba-ae4461dce98a70740d8deabf4859cb96032bdf67.tar.gz
auth auth_log: csbuild unused parm unix_username
Fixes csbuild errors Error: COMPILER_WARNING: auth/auth_log.c: scope_hint: In function ‘log_authentication_event_json’ auth/auth_log.c:146:14: warning: unused parameter ‘unix_username’ [-Wunused-parameter] Error: COMPILER_WARNING: auth/auth_log.c: scope_hint: In function ‘log_authentication_event_human_readable’ auth/auth_log.c:586:14: warning: unused parameter ‘unix_username’ [-Wunused-parameter] Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/auth/ntlm')
-rw-r--r--source4/auth/ntlm/auth.c3
-rw-r--r--source4/auth/ntlm/auth_simple.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c
index 3a3fa7eaa59..ead5326705e 100644
--- a/source4/auth/ntlm/auth.c
+++ b/source4/auth/ntlm/auth.c
@@ -481,7 +481,7 @@ _PUBLIC_ NTSTATUS auth_check_password_recv(struct tevent_req *req,
state->auth_ctx->lp_ctx,
&state->auth_ctx->start_time,
state->user_info, status,
- NULL, NULL, NULL, NULL);
+ NULL, NULL, NULL);
tevent_req_received(req);
return status;
}
@@ -498,7 +498,6 @@ _PUBLIC_ NTSTATUS auth_check_password_recv(struct tevent_req *req,
state->user_info, status,
state->user_info_dc->info->domain_name,
state->user_info_dc->info->account_name,
- NULL,
&state->user_info_dc->sids[0]);
*user_info_dc = talloc_move(mem_ctx, &state->user_info_dc);
diff --git a/source4/auth/ntlm/auth_simple.c b/source4/auth/ntlm/auth_simple.c
index fcd9050979d..8df160cefc3 100644
--- a/source4/auth/ntlm/auth_simple.c
+++ b/source4/auth/ntlm/auth_simple.c
@@ -114,7 +114,7 @@ _PUBLIC_ struct tevent_req *authenticate_ldap_simple_bind_send(TALLOC_CTX *mem_c
log_authentication_event(msg, lp_ctx,
&state->auth_context->start_time,
user_info, status,
- NULL, NULL, NULL, NULL);
+ NULL, NULL, NULL);
}
if (tevent_req_nterror(req, status)) {
return tevent_req_post(req, ev);