rpc: Always supply both the remote and local address to the auth subsystem
authorGary Lockyer <gary@catalyst.net.nz>
Fri, 24 Feb 2017 00:29:12 +0000 (13:29 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Mar 2017 00:37:27 +0000 (02:37 +0200)
commit3bc56854457191ab817bc9a4419b1dee74138b0f
tree41190035afd91a63b2d6856ca2718c76006bac98
parent85536c1ff3513840728ba281de2b6f003e49f227
rpc: Always supply both the remote and local address to the auth subsystem

This ensures that gensec, and then the NTLM auth subsystem under it, always gets the
remote and local address pointers for potential logging.

The local address allows us to know which interface an authentication is on

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-by: Gary Lockyer <gary@catalyst.net.nz>
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
20 files changed:
source3/auth/auth_ntlmssp.c
source3/auth/auth_util.c
source3/auth/proto.h
source3/auth/user_info.c
source3/librpc/rpc/dcerpc_ep.c
source3/printing/nt_printing_migrate_internal.c
source3/printing/printspoolss.c
source3/rpc_client/cli_winreg_int.c
source3/rpc_server/netlogon/srv_netlog_nt.c
source3/rpc_server/rpc_ncacn_np.c
source3/rpc_server/rpc_ncacn_np.h
source3/rpc_server/rpc_server.c
source3/rpc_server/spoolss/srv_spoolss_util.c
source3/smbd/lanman.c
source3/smbd/reply.c
source3/smbd/sesssetup.c
source3/torture/pdbtest.c
source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_pam.c
source4/rpc_server/dcesrv_auth.c