sq ads_try_connect check_cldap_reply_usable
authorStefan Metzmacher <metze@samba.org>
Thu, 17 Feb 2022 14:22:53 +0000 (15:22 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 16 Oct 2023 08:23:19 +0000 (10:23 +0200)
source3/libads/ldap.c

index ad9279f00bab9cc0febc7e8e5729cf1ee8c1bf90..5c497637044df6f0781ce78ae6d0731b489a7933 100644 (file)
@@ -284,7 +284,7 @@ static bool ads_try_connect(ADS_STRUCT *ads, bool gc,
                goto out;
        }
 
-       required_ds_flags |= DS_ONLY_LDAP_NEEDED;
+       required_ds_flags = DS_ONLY_LDAP_NEEDED;
        required_ds_flags |= ads->config.flags;
 
        /* Check the CLDAP reply flags */