]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:winbindd: remove useless lines in add_trusted_domains_dc()
authorStefan Metzmacher <metze@samba.org>
Wed, 2 Oct 2024 14:54:26 +0000 (16:54 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 5 Dec 2024 16:46:37 +0000 (16:46 +0000)
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>
source3/winbindd/winbindd_util.c

index 681d4194127d504031d9c8278038f2ba7f33642e..9515692b5fe390dee341493c2d121db899a86565 100644 (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++) {