httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34943] - util_ldap.c: In function `util_ldap_connection_open':
Date Fri, 21 Oct 2005 10:50:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34943>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34943





------- Additional Comments From nitinm@cadence.com  2005-10-21 12:50 -------
We have had the similar problem. This error is usually generated util_ldap.c.
The problem is, by default, none LDAP supports SSL/TLS. I tried configuring with
--disable-ssl option but no help. Finally the workaround I found was in
modules/experimental/util_ldap.c. Bellow is the diff between the original and
modified version of util_ldap.c:

283,284c283,284
<                     /*int SSLmode = LDAP_OPT_X_TLS_HARD;
<                     result = ldap_set_option(ldc->ldap, LDAP_OPT_X_TLS,
&SSLmode);*/
---
>                     int SSLmode = LDAP_OPT_X_TLS_HARD;
>                     result = ldap_set_option(ldc->ldap, LDAP_OPT_X_TLS, &SSLmode);
1566c1566
<             /*if (st->cert_file_type == LDAP_CA_TYPE_BASE64)
---
>             if (st->cert_file_type == LDAP_CA_TYPE_BASE64)
1576c1576
<             }*/
---
>             }


Check this out and it may help. The ldap authentication is working fine for me
on Solaris 9 and apache 2.0.54. But somehow, if you are using SSL based auth
mechanism, you may need to re-compile your ldap SDK with ssl option (And
supporting libraries)

Cheers,

Nitin

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message