[Fedora-directory-users] apache ldap over SSL.

Mickael Besse mickaelb at hotmail.com
Tue Jun 20 13:21:33 UTC 2006


>Try
>    ldd /usr/sbin/httpd
>
>Look for the ldap library.

the ldap library is:
libldap-2.3.so.0


I try what say http://httpd.apache.org/docs/2.2/mod/mod_ldap.html about 
OpenLDAP SDK
and I 've several error:

Invalid command 'AuthLDAPEnabled'
LDAPTrustedClientCert not allowed here (I put it between <Directory 
"/var/www/html">... </Directory>)
Invalid command 'AuthLDAPAuthoritative'



My httpd.conf is :


LDAPTrustedGlobalCert CA_DER  /etc/httpd/conf/CAcertificat.der
LDAPTrustedGlobalCert CA_BASE64 /etc/httpd/conf/cacertificat.pem (it's the 
same that CAcertificat.der but in pem format)

LDAPTrustedClientCert CERT_BASE64 /etc/httpd/conf/servcert.pem
LDAPTrustedClientCert KEY_BASE64 /etc/httpd/conf/servkey.pem


<Directory "/var/www/html" >
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPURL ldaps://*.*.*.*/dc=*,dc=*?uid?sub
require valid-user
AuthName "bienvenue"

</Directory>


and it doesn't work..

_________________________________________________________________
MSN Hotmail sur i-mode™ : envoyez et recevez des e-mails depuis votre 
téléphone portable ! http://www.msn.fr/hotmailimode/




More information about the Fedora-directory-users mailing list