Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

LDAP Authentication over SSL

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


gordan at bobich

Oct 15, 2010, 3:04 PM

Post #1 of 2 (573 views)
Permalink
LDAP Authentication over SSL

I'm trying to get this to work using OpenLDAP 2.4 (RHEL6), and according
to this:
http://www.dbmail.org/dokuwiki/doku.php/stunnel
It should work based on what is in /etc/openldap/ldap.conf without
having to fall back on stunnel if I omit the URL and HOSTNAME parameters
in dbmail.conf's [LDAP] section.
Unfortunately - that doesn't seem to work for me. I get this in the logs:

Oct 15 22:57:52 dbmail1 dbmail/imap4d[31153]: Error:[auth]
authldap.c,auth_ldap_bind(+134): ldap_bind_s failed: Can't contact LDAP
server
Oct 15 22:57:52 dbmail1 dbmail/imap4d[31153]: Error:[serverchild]
serverchild.c,PerformChildTask(+298): could not connect to authentication

Any ideas how I could debug this further? If I specify the LDAP settings
in /etc/dbmail.conf without SSL, everything works fine. I would prefer
to not use stunnel if I can help it.

Gordan
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Oct 16, 2010, 3:21 AM

Post #2 of 2 (525 views)
Permalink
Re: LDAP Authentication over SSL [In reply to]

On 10/16/2010 12:04 AM, Gordan Bobic wrote:
> I'm trying to get this to work using OpenLDAP 2.4 (RHEL6), and according
> to this:
> http://www.dbmail.org/dokuwiki/doku.php/stunnel
> It should work based on what is in /etc/openldap/ldap.conf without
> having to fall back on stunnel if I omit the URL and HOSTNAME parameters
> in dbmail.conf's [LDAP] section.
> Unfortunately - that doesn't seem to work for me. I get this in the logs:

Try specifying the URL ldaps:// in dbmail.conf:

URI ldaps://ldap.mydomain.com

dbmail doesn't look at the default ldap.conf - wherever that may reside.




>
> Oct 15 22:57:52 dbmail1 dbmail/imap4d[31153]: Error:[auth]
> authldap.c,auth_ldap_bind(+134): ldap_bind_s failed: Can't contact LDAP
> server
> Oct 15 22:57:52 dbmail1 dbmail/imap4d[31153]: Error:[serverchild]
> serverchild.c,PerformChildTask(+298): could not connect to authentication
>
> Any ideas how I could debug this further? If I specify the LDAP settings
> in /etc/dbmail.conf without SSL, everything works fine. I would prefer
> to not use stunnel if I can help it.
>
> Gordan
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.