]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#6462 clients: Enable DNS SRV resolution for ldaps connections
authorOndřej Kuzník <ondra@mistotebe.net>
Thu, 9 Apr 2026 12:27:25 +0000 (13:27 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 16 Apr 2026 02:13:15 +0000 (02:13 +0000)
clients/tools/common.c

index 4b913dd30679282b8498e5def27a20bcf3f5d636..94b669105250588f1e97a4bd0b53725116a9bec5 100644 (file)
@@ -1269,7 +1269,7 @@ tool_conn_setup( int dont, void (*private_setup)( LDAP * ) )
                                                goto dnssrv_free;
                                        }
                                        
-                                       rc = ldap_domain2hostlist( domain, &hostlist );
+                                       rc = ldap_domain2hostlist_proto( domain, &hostlist, lud->lud_scheme );
                                        if ( rc ) {
                                                fprintf( stderr,
                                                        "DNS SRV: Could not turn "