mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
further improve previous fix
This commit is contained in:
parent
6dda364276
commit
9428882682
@ -74,10 +74,11 @@ dnssrv_back_referrals(
|
||||
Debug( LDAP_DEBUG_TRACE, "DNSSRV: dn=\"%s\" -> domain=\"%s\"\n",
|
||||
op->o_req_dn.bv_val, domain, 0 );
|
||||
|
||||
if( ( rc = ldap_domain2hostlist( domain, &hostlist ) ) ) {
|
||||
i = ldap_domain2hostlist( domain, &hostlist );
|
||||
if ( i ) {
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"DNSSRV: domain2hostlist(%s) returned %d\n",
|
||||
domain, rc, 0 );
|
||||
domain, i, 0 );
|
||||
rs->sr_text = "no DNS SRV RR available for DN";
|
||||
rc = LDAP_NO_SUCH_OBJECT;
|
||||
goto done;
|
||||
|
Loading…
Reference in New Issue
Block a user