httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandro Tosi <>
Subject Re: [users@httpd] LDAP: ldap_set_option failed. Could not set LDAP_OPT_X_TLS to LDAP_OPT_X_TLS_HARD
Date Wed, 04 Nov 2009 15:19:34 GMT
Eric Covener wrote:
> On Wed, Nov 4, 2009 at 9:45 AM, Sandro Tosi <> wrote:
>> Sandro Tosi wrote:
>>> Hello,
>>> we are enabling LDAP auth on our apache stack. Starting from
>>> apache/2.2.9+php/5.2.8 we are upgrading to apache/2.2.14+php/5.2.11 .
>> Just to give more information in order to (hopefully) solve this, the same
>> problem happens also using apache 2.2.9 (recompiled to enable ldap and
>> authnz_ldap).
> Any chance your PHP is causing some other LDAP library to be loaded?
> Same symptom without mod_php?
Oh god you're right! removing the load of php from apache (and 
commenting almost every virtualhost than default), LDAP auth is working!!

Now, running

# ldd modules/ | egrep "ldap|ssl|sas" => /usr/X11R6/lib/ (0xb725d000)


# ldd modules/ | egrep "ldap|ssl|sas" => /usr/lib/ (0xb804b000) => /usr/lib/ (0xb7eb1000) => /usr/lib/ (0xb7e71000)

could the problem be the different libssl (and I really don't know why 
they're different)? in particular because libphp is loaded _before_ 
mod_ldap ?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message