[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#6463) dnssrv_back_referrals: ldaps not handled, search base gone
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#6463) dnssrv_back_referrals: ldaps not handled, search base gone
- From: jochen@keutel.de
- Date: Wed, 27 Jan 2010 01:41:54 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Jochen Keutel
Version: 2.4.21
OS: Solaris 10
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (87.159.206.14)
dnssrv_back_referrals() always returns ldap URLs - even when the original
request was a ldaps query.
Additionally only protocol and hostname are put into the URL - the search base
doesn't appear any more.
Problematic code:
url.bv_len = STRLENOF( "ldap://" ) + strlen( hosts[i] );
url.bv_val = ch_malloc( url.bv_len + 1 );
strcpy( url.bv_val, "ldap://" );
strcpy( &url.bv_val[STRLENOF( "ldap://" )], hosts[i] );
I'm not sure whether you want me to deliver a complete patch or not ...
Thanks to my colleague Manuel Gaupp for detecting this problem.
Best regards, Jochen.