summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-05-26 11:58:38 +1200
committerAndrew Bartlett <abartlet@samba.org>2014-07-04 02:52:35 +0200
commitaf7f88721a21fbe33cec2bc277f65a736f6cb9cc (patch)
treeae69c5d117289d1e77a51dbf787ba973ba86ef38 /source3/winbindd/winbindd.h
parentda3a79831afbd1b85592be36eb47de375e575643 (diff)
downloadsamba-af7f88721a21fbe33cec2bc277f65a736f6cb9cc.tar.gz
samba-af7f88721a21fbe33cec2bc277f65a736f6cb9cc.tar.xz
samba-af7f88721a21fbe33cec2bc277f65a736f6cb9cc.zip
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>
Diffstat (limited to 'source3/winbindd/winbindd.h')
-rw-r--r--source3/winbindd/winbindd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h
index 07c87dbcf4..5b98928a25 100644
--- a/source3/winbindd/winbindd.h
+++ b/source3/winbindd/winbindd.h
@@ -164,6 +164,7 @@ struct winbindd_domain {
bool active_directory; /* is this a win2k active directory ? */
bool primary; /* is this our primary domain ? */
bool internal; /* BUILTIN and member SAM */
+ bool rodc; /* Are we an RODC for this AD domain? (do some operations locally) */
bool online; /* is this domain available ? */
time_t startup_time; /* When we set "startup" true. monotonic clock */
bool startup; /* are we in the first 30 seconds after startup_time ? */