Dovecot against samba4 with LDAP
bogdan_bartos
admin at blackpenguin.org
Thu Dec 24 16:03:55 UTC 2015
I am trying like this:
hosts = localhost:389
ldap_version = 3
auth_bind = yes
dn = service.ldap at ads.mydomain.org
dnpass = blahblah
base = cn=users,dc=ads,dc=mydomain,dc=org
scope = subtree
deref = never
user_filter =
(&(mail=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_filter =
(&(mail=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_attrs = userPassword=password
default_pass_scheme = CRYPT
user_attrs =
=home=/var/mail/virtual/%Ld/%Ln/,=mail=maildir:/var/mail/virtual/%Ld/%Ln/
And...I get this:
[root at ads dovecot]# doveadm auth test -x service=imaps bogdan
Password:
passdb: bogdan auth failed
extra fields:
user=bogdan
My user is located in the OU=MAIN right under the root structure. My virtual
mailbox is in /var/mail/virtual/ads.mydomain.org/bogdan in the case above
--
View this message in context: http://samba.2283325.n4.nabble.com/Dovecot-against-samba4-with-LDAP-tp4696169p4696173.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.
More information about the samba-technical
mailing list