mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 03:29:35 -05:00
Fix another bug... seems to be working... ldap://root.openldap.org/
This commit is contained in:
parent
560fe7ade0
commit
f9411ca154
2 changed files with 5 additions and 3 deletions
|
|
@ -106,7 +106,9 @@ int ldap_dn2domain(
|
|||
return -5;
|
||||
}
|
||||
|
||||
if( domain != NULL ) {
|
||||
if( domain == NULL ) {
|
||||
ndomain[0] = '\0';
|
||||
} else {
|
||||
strcat( ndomain, "." );
|
||||
}
|
||||
strcat( ndomain, dc );
|
||||
|
|
|
|||
|
|
@ -76,8 +76,8 @@ dnssrv_back_request(
|
|||
}
|
||||
|
||||
Statslog( LDAP_DEBUG_STATS,
|
||||
"conn=%ld op=%d DNSSRV dn=\"%s\" domain=%d url=\"%s\"\n",
|
||||
op->o_connid, op->o_opid, dn, domain, urls[0]->bv_val );
|
||||
"conn=%ld op=%d DNSSRV p=%d dn=\"%s\" url=\"%s\"\n",
|
||||
op->o_connid, op->o_opid, op->o_protocol, dn, urls[0]->bv_val );
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "DNSSRV: dn=\"%s\" -> url=\"%s\"\n",
|
||||
dn == NULL ? "" : dn,
|
||||
|
|
|
|||
Loading…
Reference in a new issue