summaryrefslogtreecommitdiff
path: root/source3/auth
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 /source3/auth
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 'source3/auth')
-rw-r--r--source3/auth/auth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index 7215218413f..ce2cb0d75bf 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -317,7 +317,7 @@ NTSTATUS auth_check_ntlm_password(TALLOC_CTX *mem_ctx,
nt_status,
server_info->info3->base.logon_domain.string,
server_info->info3->base.account_name.string,
- unix_username, &sid);
+ &sid);
DEBUG(server_info->guest ? 5 : 2,
("check_ntlm_password: %sauthentication for user "
@@ -352,7 +352,6 @@ fail:
nt_status,
NULL,
NULL,
- NULL,
NULL);
ZERO_STRUCTP(pserver_info);