r16080: Re-add accidentially excluded in-forest domain trusts (fixes bug #3823).
authorGünther Deschner <gd@samba.org>
Wed, 7 Jun 2006 13:06:49 +0000 (13:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:20 +0000 (11:17 -0500)
Guenther
(This used to be commit 8759a00fedfe5d8d789c8b707c924d8116da1102)

source3/nsswitch/winbindd_ads.c

index 8259fd7cd368e9817200c6c5be8e207e3e1e8ccd..f777b2ae18b445d16fcdfe036afde2951318ea42 100644 (file)
@@ -1042,7 +1042,7 @@ static NTSTATUS trusted_domains(struct winbindd_domain *domain,
        struct ds_domain_trust  *domains = NULL;
        int                     count = 0;
        int                     i;
-       uint32                  flags = DS_DOMAIN_DIRECT_OUTBOUND;
+       uint32                  flags = DS_DOMAIN_IN_FOREST | DS_DOMAIN_DIRECT_OUTBOUND;
        struct rpc_pipe_client *cli;
 
        DEBUG(3,("ads: trusted_domains\n"));