Dovecot against samba4 with LDAP
bogdan_bartos
admin at blackpenguin.org
Thu Dec 24 13:52:32 UTC 2015
Hi,
I am trying to make dovecot auth against samba4 via LDAP and nothing seems
to be working.
This is the ldap file:
hosts = localhost
auth_bind = yes
auth_bind_userdn = cn=%u,dc=ads,dc=mydomain,dc=org
ldap_version = 3
base = dc=ads,dc=mydomain,dc=org
No matter why I try, it gives me this:
[root at ads dovecot]# doveadm auth test -x service=imaps bogdan
Password:
passdb: bogdan auth failed
extra fields:
user=bogdan
Is there a documented way to connect with dovecot to samba4? Did anybody get
this working in the past?
I am able to connect to samba4 with postfix via the file bellow, but dovecot
will simply not do it:
server_host = localhost
server_port = 389
version = 3
bind = yes
bind_dn = service.ldap at ads.mydomain.org
bind_pw = blahblah
search_base = dc=ads,dc=mydomain,dc=org
scope = sub
query_filter = (&(userPrincipalName=%s)(objectClass=person))
result_attribute= userPrincipalName
debuglevel = 0
--
View this message in context: http://samba.2283325.n4.nabble.com/Dovecot-against-samba4-with-LDAP-tp4696169.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.
More information about the samba-technical
mailing list