LDAP authentication

mihai at badici.ro mihai at badici.ro
Mon Jun 22 20:51:48 UTC 2015


On Monday 22 June 2015 14:19:52 Luca Bertoncello wrote:
> Hi again
> 
> I'm trying to authenticate a user against an LDAP Server (well, our
> AD, but it can LDAP).
> 
> This is my configuration:
> 
> hosts = my.server.local
> auth_bind = yes
> ldap_version = 3
> base = CN=Person,CN=Schema,CN=Configuration,DC=company,DC=local
> scope = subtree
> user_attrs = \
>    =home=/home/imapproxy/%u, \
>    =mail=maildir:/home/imapproxy/%u
> 
> pass_attrs = uid=%u, userPassword=%w
> pass_filter = (&(objectClass=user)(sAMAccountName=%u))
> auth_bind_userdn = company\%u
BTW, there is an userPassword attribute? As I remember, on AD it is 
sAMAccountpassword.


More information about the dovecot mailing list