summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-05-06 18:39:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:47 -0500
commit2da62a3d965a9701e16e644fd6bc728b43f28489 (patch)
tree44b8d45fee568d9bcdd24d035aa2d26a6cb9cb38 /source/nsswitch/winbindd.h
parentcd55ccef6a1d0c95836feeb5efb5abcaedb35df2 (diff)
downloadsamba-2da62a3d965a9701e16e644fd6bc728b43f28489.tar.gz
samba-2da62a3d965a9701e16e644fd6bc728b43f28489.tar.xz
samba-2da62a3d965a9701e16e644fd6bc728b43f28489.zip
r22700: Add a simple wcache TRUSTDOM api for maintaing a complete
list of trusted domains without requiring each winbindd process to aquire this on its own. This is needed for various idmap plugins and for dealing with different trust topoligies. list_trusted_domain() patches coming next.
Diffstat (limited to 'source/nsswitch/winbindd.h')
-rw-r--r--source/nsswitch/winbindd.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd.h b/source/nsswitch/winbindd.h
index 198c655b2d3..f5e1c713179 100644
--- a/source/nsswitch/winbindd.h
+++ b/source/nsswitch/winbindd.h
@@ -157,6 +157,9 @@ struct winbindd_domain {
fstring alt_name; /* alt Domain name (if any) */
fstring forest_name; /* Name of the AD forest we're in */
DOM_SID sid; /* SID for this domain */
+ uint32 domain_flags; /* Domain flags from rpc_ds.h */
+ uint32 domain_type; /* Domain type from rpc_ds.h */
+ uint32 domain_trust_attribs; /* Trust attribs from rpc_ds.h */
BOOL initialized; /* Did we already ask for the domain mode? */
BOOL native_mode; /* is this a win2k domain in native mode ? */
BOOL active_directory; /* is this a win2k active directory ? */
@@ -332,6 +335,18 @@ struct winbindd_idmap_methods {
void (*status)(void);
};
+/* Data structures for dealing with the trusted domain cache */
+
+struct winbindd_tdc_domain {
+ const char *domain_name;
+ const char *dns_name;
+ DOM_SID sid;
+ uint32 trust_flags;
+ uint32 trust_attribs;
+ uint32 trust_type;
+};
+
+
#include "nsswitch/winbindd_proto.h"
#define WINBINDD_ESTABLISH_LOOP 30