Dovecot against samba4 with LDAP

bogdan_bartos admin at blackpenguin.org
Thu Dec 24 16:42:21 UTC 2015


I do not know if I have a mail attribute. Nothing was modified in the schema
- it is whatever that samba4 builds by default. The user bogdan exists and
the password is valid. I am trying like this and still no go:

[root at ads dovecot]# cat dovecot-ldap.conf.ext
hosts           = localhost:389
ldap_version    = 3
auth_bind       = yes
dn              = service.ldap at ads.mydomain.org
dnpass          = blahblah
base            = ou=main,dc=ads,dc=mydomain,dc=org
scope           = subtree
deref           = never
user_filter     =
(&(userPrincipalName=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_filter     =
(&(userPrincipalName=%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/



--
View this message in context: http://samba.2283325.n4.nabble.com/Dovecot-against-samba4-with-LDAP-tp4696169p4696180.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.



More information about the samba-technical mailing list