主题: dovecot-ldap.conf怎么配置才能让整个域的用户登陆邮件系统啊?
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.8.7
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):Windows AD2008
- 使用的 Linux/BSD 发行版名称及版本号:CentOS6.5 64位
- 与您的问题相关的日志信息:
====
dovecot-ldap.conf配置如下:
hosts = dc.test.com:389
ldap_version = 3
auth_bind = yes
dn = vmail
dnpass = Aa123456
base = cn=users,dc=test,dc=com
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/vmail/vmail1/%Ld/%Ln/Maildir/,=mail=maildir:/var/vmail/vmail1/%Ld/%Ln/Maildir/
现在只能用users里面的用户登陆,把cn=users去掉后连users里面的用户都用不了了!