Commit f9411ca1 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix another bug... seems to be working... ldap://root.openldap.org/

parent 560fe7ad
......@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment