The branch, master has been updated
       via  7ef7f5e26e9 winbindd: move dead code into a comment
      from  8f72b5673e6 libnet4: free tevent request even on error

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 7ef7f5e26e9712db69e23fa44ca73e9723e6541b
Author: Stefan Metzmacher <[email protected]>
Date:   Tue Feb 11 17:09:17 2025 +0100

    winbindd: move dead code into a comment
    
    We need to re-activate this once we support multitple domains
    in out own forest.
    
    Fixes CID 1642726:  Control flow issues  (UNREACHABLE)
    
    Signed-off-by: Stefan Metzmacher <[email protected]>
    Reviewed-by: Jennifer Sutton <[email protected]>
    
    Autobuild-User(master): Stefan Metzmacher <[email protected]>
    Autobuild-Date(master): Tue Feb 11 23:18:02 UTC 2025 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 source3/winbindd/winbindd_util.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index 71a6fc34cf3..69f57d8728c 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -1234,9 +1234,8 @@ static bool add_trusted_domains_dc(void)
                                    "domain[%s/%s]\n",
                                    domains[i]->netbios_name,
                                    domains[i]->domain_name);
+                       /* trust_flags |= NETR_TRUST_FLAG_IN_FOREST; */
                        continue;
-
-                       trust_flags |= NETR_TRUST_FLAG_IN_FOREST;
                }
 
                if (domains[i]->trust_attributes & 
LSA_TRUST_ATTRIBUTE_CROSS_ORGANIZATION) {


-- 
Samba Shared Repository

Reply via email to