View previous topic :: View next topic |
Author |
Message |
pahud Tux's lil' helper

Joined: 26 Nov 2002 Posts: 103
|
Posted: Wed Apr 16, 2003 8:10 am Post subject: mod_auth_ldap with TLS support? |
|
|
Anyone successfully built mod_auth_ldap with TLS support on Gentoo?
This is what I've installed:
Code: | net-nds/openldap-2.0.27 *
net-www/mod_ssl-2.8.14 *
net-www/mod_auth_ldap-2.4.1 *
net-www/apache-1.3.27-r3 *
dev-libs/openssl-0.9.6i-r2 *
|
My /etc/apache/conf/addon-modules/mod_auth_ldap.conf content
Code: | <Directory "/home/httpd/htdocs/vfoo">
Options Indexes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
AuthName "my auth."
AuthType Basic
LDAP_Server ldap.mydomain.com
LDAP_Port 389
LDAP_StartTLS On
#LDAP_CertDbDir /etc/openldap
#AuthLDAPStartTLS on
#LDAP_CertDbDir /home
Base_DN "dc=mydomain,dc=com"
Bind_DN "uid=nobody,dc=mydomain,dc=com"
Bind_Pass "secret"
UID_Attr uid
require valid-user
#require user muquit foo bar "john doe"
#require roomnumber "123 Center Building"
#require filter "(&(telephonenumber=1234)(roomnumber=123))"
#require group cn=rcs,ou=Groups
</Directory>
|
And the apache startup error message:
Code: | # /etc/init.d/apache start
* Starting apache...
Syntax error on line 13 of /etc/apache/conf/addon-modules/mod_auth_ldap.conf:
Invalid command 'LDAP_StartTLS', perhaps mis-spelled or defined by a module not included in the server configuration |
If I leave 'LDAP_StartTLS' commented off, then it works.
I am sure my mod_auth_ldap is compiled with ssl support.
Code: | # ldd mod_auth_ldap.so
libldap.so.2 => /usr/lib/libldap.so.2 (0x4000c000)
liblber.so.2 => /usr/lib/liblber.so.2 (0x40034000)
libm.so.6 => /lib/libm.so.6 (0x4003c000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4005f000)
libdb-3.2.so => /usr/lib/libdb-3.2.so (0x4008c000)
libmm.so.12 => /usr/lib/libmm.so.12 (0x40120000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40124000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4014b000)
libc.so.6 => /lib/libc.so.6 (0x4019b000)
libnsl.so.1 => /lib/libnsl.so.1 (0x402cb000)
libresolv.so.2 => /lib/libresolv.so.2 (0x402e0000)
libdl.so.2 => /lib/libdl.so.2 (0x402f1000)
libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x402f4000)
libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40324000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
|
Anyone can answer this question? |
|
Back to top |
|
 |
pahud Tux's lil' helper

Joined: 26 Nov 2002 Posts: 103
|
Posted: Fri Apr 18, 2003 5:59 pm Post subject: |
|
|
After contacting the author, "Muhammad Muquit" <muquit@muquit.com>, the TLS support is only available in Apache2, I was kind of confused then.  |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|