summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-01-02 21:48:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:52 -0500
commitb2317c097954844af4a0596fea507f0139d14465 (patch)
treea718a8529cbb1b93845a0880ab2c96162e3019d4 /source3/nsswitch/winbindd.h
parentd3fc370fb9e32b881bb6c626ac525246af665ea4 (diff)
downloadsamba-b2317c097954844af4a0596fea507f0139d14465.tar.gz
samba-b2317c097954844af4a0596fea507f0139d14465.tar.bz2
samba-b2317c097954844af4a0596fea507f0139d14465.zip
r20488: When joined to a child domain in a multi-domain/single domain tree,
the child domain cannot always resolve SIDs in sibling domains. Windows tries to contact a DC in its own domain and then the root domain in the forest. This async changes makes winbindd's name2sid() call do the same. (This used to be commit 7b2bf0e5a6b8d4119657c7a34aa53c9a0c1d5723)
Diffstat (limited to 'source3/nsswitch/winbindd.h')
-rw-r--r--source3/nsswitch/winbindd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h
index b62cc0af19..59557c4942 100644
--- a/source3/nsswitch/winbindd.h
+++ b/source3/nsswitch/winbindd.h
@@ -151,6 +151,7 @@ struct winbindd_child {
struct winbindd_domain {
fstring name; /* Domain name */
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 */
BOOL initialized; /* Did we already ask for the domain mode? */
BOOL native_mode; /* is this a win2k domain in native mode ? */