LDAP authentication

John Oliver joliver at john-oliver.net
Wed Sep 10 20:20:56 UTC 2014


On Wed, Sep 10, 2014 at 01:09:11PM -0700, Bob Miller wrote:
> Hi,
> 
> > [joliver at localhost ~]$ cat /etc/dovecot/dovecot-ldap.conf.ext
> > hosts = localhost
> > base = ou=Users,dc=my,dc=domain
> > ldap_version = 3
> > auth_bind = yes
> > auth_bind_userdn = uid=%u,ou=Users,dc=my,dc=domain
> > 
> 
> this looks different than mine.  here is my example config file, maybe
> it helps:
> 
> hosts = 192.168.26.10:389
> debug_level = 0
> auth_bind = yes
> auth_bind_userdn = %Ln at computerisms.com
> base = dn=computerisms,dn=com
> scope = subtree
> user_filter = (&(sAMAccountName=%Ln))
> pass_filter = (&(sAMAccountName=%Ln))

I wish it was possible to kiss someone over the Internet :-)

The debug_level helped me immensely... I realized it was literally
looking for 'uid' on my LDAP.  Changed to 'cn' and all is well!

THANK YOU!!!

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************


More information about the dovecot mailing list