[Auth_ldap] stunnel + ldap_auth

Johan Verdoodt johan.verdoodt at vub.ac.be
Mon Mar 20 06:16:41 PST 2006


Dear all,

I am trying tu use ldap_auth  on our webserver (apache 1.3). 
Our remote ldap (openldap) server speaks only ldaps on port 636.

Since we use the debian sarge package of ldap_auth that doesn't support ldaps 
we use stunnel to connect to the ldapserver.

All should be fine I thought but all I get is:
 
Could not bind to LDAP server `localhost' as (null): Protocol error

What am I doing wrong ?

stunnel started with:
stunnel -c  -d 389 -r  ldap.ldapserv.intra:636

.htcaccess:
AuthLDAPStartTLS off
AuthType basic
AuthName "LDAP Alias and password required"
AuthLDAPURL ldap://localhost:389/ou=Users,dc=ldapserv,dc=intra?uid?sub
require valid-user

Versions:
 - stunnel 3.26 on i386-pc-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.7e 25 
Oct 2004
- Server version: Apache/1.3.33 (Debian GNU/Linux)
Server built:   Sep  6 2005 13:10:30

-- 
Mvg,

 Johan Verdoodt






More information about the Auth_ldap mailing list