Hi!

I'm trying to setup dovecot 2.3.17 such that it authenticates users against a 
samba4 ad dc when they connect through imap. I would also need dovecot to 
authenticate the same users through sasl so that postfix can relay mails based 
on the user's auth and finally I would also need for an lmtp service that maps 
email addresses into AD users.

I've been tinkering with dovecot-ldap.conf.ext using auth_bind = yes and no, 
with all sorts of pass_filters, user_filter, pass_attr and user_attr and I just 
can't figure out how it works.

I assume that for the auth part (both imap and sasl) I would rather benefit 
with using auth_bind = yes and auth_bind_userdn = %u and I seem to be able to 
authenticate the user but I can't get the passdb to prefetch the userdb 
attributes. I also assume that for lmtp to be able to fetch the ad information 
it would be necessary for dovecot to be able to bind to the ad ldap server with 
a "service account" to be able to query the ldap server and I haven't been able 
to figure out how to have both kinds of auth schemas.

Does anyone know of some documentation that could clarify some of this issues, 
I have been searching the web for days to no avail.

I'm sorry I can't show what I have tried for I have tried so many things with 
more or less the same lack of success that I wouldn't know where to start.

Thanks in advance.
Best regards,
Dave.
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to