1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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 <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher 2024-10-02 16:54:26 +02:00
parent fa04464316
commit d6aa886ce2

View File

@ -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++) {