winbind: set_dc_type_and_flags() is not needed on a DC
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Feb 2018 10:24:38 +0000 (11:24 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 23 Feb 2018 11:47:25 +0000 (12:47 +0100)
commit55c3af89f1b0baecf5e2d6c2646902edd0684aa8
treeb6f76ce41532c1b4b493629035fa7f8b50831640
parent18f27b5385240852e537cd5010cedb09f0bf233d
winbind: set_dc_type_and_flags() is not needed on a DC

On a DC we load the trusts in the parent in add_trusted_domains_dc()
from our local configuration. There's no need to find out the trust details
via network calls.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13278

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/winbindd/winbindd_cm.c