You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/07/15 23:00:39 UTC
DO NOT REPLY [Bug 30130] New: -
Native support for Sun LDAP (library/includes)
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=30130>.
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=30130
Native support for Sun LDAP (library/includes)
Summary: Native support for Sun LDAP (library/includes)
Product: Apache httpd-2.0
Version: 2.0.50
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Enhancement
Priority: Other
Component: mod_ldap
AssignedTo: bugs@httpd.apache.org
ReportedBy: mark@beantree.com
When trying to compile using the native LDAP libraries (not Netscape SDK nor
OpenLDAP), you will get several compile errors regarding undefined symbols
including:
LDAP_OPT_X_TLS
LDAP_OPT_X_TLS_HARD
LDAP_OPT_X_TLS_CACERTFILE
If you are not interested in SSL (i.e. protected network), you can use the
native ldap libraries that come with solaris (at least with solaris 9 although
I would suspect this would be the same for 8 as well). To get the compile and
authentication to work, in modules/experimental/util_ldap.c on line 286 for
the check for APR_HAS_OPENLDAP_LDAPSDK and on line 1281 (same check) you can
add an additional check to see if those variables noted above are defined.
Alternatively, in the distribution file /usr/include/ldap.h on solaris 9 a
define is made for _SOLARIS_SDK. Also, the LDAP_VENDOR_VERSION is 500
(version # * 100) and LDAP_API_VERSION is 2005 if that may be useful.
Other than the above change, the module works correctly.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org