summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-02-10 11:45:21 -0800
committerMatthieu Patou <mat@matws.net>2012-02-10 12:52:19 -0800
commit05036fab0a9847219c73c0abd931a39fba0bccfd (patch)
tree96b8e59ca0cc8a71ed904679ebd4038ba1a38376 /source3
parent389bb4fbe175af8bfb3b75f4ed69529e4d3e075b (diff)
downloadsamba-05036fab0a9847219c73c0abd931a39fba0bccfd.tar.gz
samba-05036fab0a9847219c73c0abd931a39fba0bccfd.tar.bz2
samba-05036fab0a9847219c73c0abd931a39fba0bccfd.zip
s3-winbindd: set the can_do_validation6 also for trusted domain
The flag can_do_validation6 was only set for the domain to which winbindd is the member. Setting this flag in other domains (trusted domain) if it's active directory domain is a good idea as it allow to do level 6 validation also when winbindd is querying them directly.
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_cm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 39ac28422e..3373d96f0a 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -1882,6 +1882,8 @@ static bool set_dc_type_and_flags_trustinfo( struct winbindd_domain *domain )
"running active directory.\n", domain->name,
domain->active_directory ? "" : "NOT "));
+ domain->can_do_ncacn_ip_tcp = domain->active_directory;
+ domain->can_do_validation6 = domain->active_directory;
domain->initialized = True;