winbindd: Use a remote RPC server when we are an RODC when needed
authorAndrew Bartlett <abartlet@samba.org>
Sun, 25 May 2014 23:58:38 +0000 (11:58 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 4 Jul 2014 00:52:35 +0000 (02:52 +0200)
commitaf7f88721a21fbe33cec2bc277f65a736f6cb9cc
treeae69c5d117289d1e77a51dbf787ba973ba86ef38
parentda3a79831afbd1b85592be36eb47de375e575643
winbindd: Use a remote RPC server when we are an RODC when needed

This allows us to operate against the local cache where possible, but
to forward some operations to the read-write DC.

Andrew Bartlett

Change-Id: Idc78ae379a402969381758919fcede17568f094e
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
source3/winbindd/winbindd.h
source3/winbindd/winbindd_cache.c
source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_msrpc.c
source3/winbindd/winbindd_pam.c
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_util.c