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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to