From: Ondřej Kuzník Date: Thu, 9 Apr 2026 12:27:25 +0000 (+0100) Subject: ITS#6462 clients: Enable DNS SRV resolution for ldaps connections X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=3ebfd3e8314dffc6f48bf3a950ea132d866b8656;p=thirdparty%2Fopenldap.git ITS#6462 clients: Enable DNS SRV resolution for ldaps connections --- diff --git a/clients/tools/common.c b/clients/tools/common.c index 4b913dd306..94b6691052 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -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 "