mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 11:39:34 -05:00
further improve previous fix
This commit is contained in:
parent
6dda364276
commit
9428882682
1 changed files with 3 additions and 2 deletions
|
|
@ -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 a new issue