SASL and OpenLDAP with SSL

Mihai Barbos mihai.barbos at eurospider.com
Thu Jul 5 07:28:58 EDT 2007


 > Mihai Barbos <mihai.barbos at eurospider.com> writes:
 > > Hi
 > >
 > > Can someone please help me with the following (annoying) problem:
 > > I've got a saslauthd connecting to ldap on CentOS 5.0. With tls
 > > disabled everything seems to work OK. With tls enabled, the connection
 > > to LDAP is established OK but the authentication fails. LDAP
 > > (openldap) reports TLS established and then UNBIND.
 > >
 > > Does it ring any bell to anyone ? Any idea is welcome. Of course I can
 > > post any configuration that might be of interest.

 > Did you create the values of attribute type userpasswd with a hashing
 > scheme like CRYPT or SSHA?

 > -Dieter

Initially yes. But I've tried also with plain passwords without any luck
All I get on LDAP server is:
Jul  5 13:28:41 saturn slapd[476]: [ID 560212 local4.debug] conn=1783 
op=0 STARTTLS
Jul  5 13:28:41 saturn slapd[476]: [ID 875301 local4.debug] conn=1783 
op=0 RESULT oid= err=0 text=
Jul  5 13:28:41 saturn slapd[476]: [ID 105384 local4.debug] conn=1783 
fd=20 TLS established tls_ssf=256 ssf=256
Jul  5 13:28:41 saturn slapd[476]: [ID 218904 local4.debug] conn=1783 
op=1 UNBIND
Jul  5 13:28:41 saturn slapd[476]: [ID 952275 local4.debug] conn=1783 
fd=20 closed

Mihai


More information about the Cyrus-sasl mailing list