From d6aa886ce22045075c90ee37e8c6949201997507 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 2 Oct 2024 16:54:26 +0200 Subject: [PATCH] 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 --- source3/winbindd/winbindd_util.c | 6 ------ 1 file changed, 6 deletions(-) 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++) {