netlogon: Implement SendToSam along with its winbind forwarding
authorGarming Sam <garming@catalyst.net.nz>
Tue, 11 Apr 2017 03:51:50 +0000 (15:51 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 May 2017 06:06:07 +0000 (08:06 +0200)
commitfd29e28d5231a4e576979c0b116564b751be8831
tree30b1dcba3607e5a502ab6335a5cebe665e04b979
parent8ae968193b7084af8bb0ccf7d624ff10e39d5715
netlogon: Implement SendToSam along with its winbind forwarding

This allows you to forward bad password count resets to 0. Currently,
there is a missing access check for the RODC to ensure it only applies
to cached users (msDS-Allowed-Password-Replication-Group).

(further patches still need to address forcing a RWDC contact)

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
12 files changed:
libcli/auth/netlogon_creds_cli.c
libcli/auth/netlogon_creds_cli.h
librpc/idl/netlogon.idl
librpc/idl/winbind.idl
source3/rpc_server/netlogon/srv_netlog_nt.c
source3/winbindd/winbindd_dual_srv.c
source3/winbindd/winbindd_irpc.c
source4/auth/ntlm/auth_sam.c
source4/auth/ntlm/auth_winbind.c
source4/auth/sam.c
source4/kdc/hdb-samba4.c
source4/rpc_server/netlogon/dcerpc_netlogon.c