From: Stefan Metzmacher Date: Wed, 2 Oct 2024 14:54:26 +0000 (+0200) Subject: s3:winbindd: remove useless lines in add_trusted_domains_dc() X-Git-Tag: tdb-1.4.13~395 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6aa886ce22045075c90ee37e8c6949201997507;p=thirdparty%2Fsamba.git s3:winbindd: remove useless lines in add_trusted_domains_dc() add_trusted_domain() above already sets this... Review with: git show -U15 Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c index 681d4194127..9515692b5fe 100644 --- a/source3/winbindd/winbindd_util.c +++ b/source3/winbindd/winbindd_util.c @@ -951,12 +951,6 @@ bool add_trusted_domains_dc(void) nt_errstr(status)); return false; } - - if (domains[i]->trust_type == LSA_TRUST_TYPE_UPLEVEL) { - domain->active_directory = true; - } - domain->domain_type = domains[i]->trust_type; - domain->domain_trust_attribs = domains[i]->trust_attributes; } for (i = 0; i < num_domains; i++) {