1 最后由 634389716 (2015-02-26 14:50:56) 编辑

主题: dovecot使用doveadm user 查询不到用户

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.0
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):AD2008
- 使用的 Linux/BSD 发行版名称及版本号:centos7
- 与您的问题相关的日志信息:
====
单独查询某一个用户信息能查询到,使用*通配符之后就只查到vmail一个用户,我使用openLDAP就能查询到所有用户,用AD就不行,是需要修改什么参数么?
在dovecot日志如下:

Feb 26 14:47:19 auth: Debug: master in: LIST    1       user=*  service=doveadm
Feb 26 14:47:19 auth-worker(5719): Debug: ldap: iterate: base=cn=users,dc=test,dc=com scope=subtree filter=(objectClass=posixAccount) fields=uid
Feb 26 14:47:19 auth: Error: auth worker: Aborted request: Worker process died unexpectedly
Feb 26 14:47:19 auth-worker(5719): Fatal: master: service(auth-worker): child 5719 killed with signal 11 (core dumps disabled)
Feb 26 14:47:19 auth-worker(5723): Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Feb 26 14:47:19 auth-worker(5723): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
Feb 26 14:47:19 auth-worker(5723): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_pgsql.so
Feb 26 14:47:19 auth-worker(5723): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Feb 26 14:47:19 auth-worker(5723): Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Feb 26 14:47:19 auth-worker(5723): Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so
Feb 26 14:47:19 auth-worker(5723): Debug: passwd-file /etc/dovecot/dovecot-master-users: Read 1 users in 0 secs
Feb 26 14:47:19 auth-worker(5724): Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Feb 26 14:47:19 auth-worker(5724): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
Feb 26 14:47:19 auth-worker(5724): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_pgsql.so
Feb 26 14:47:19 auth-worker(5724): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Feb 26 14:47:19 auth-worker(5724): Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Feb 26 14:47:19 auth-worker(5724): Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so
Feb 26 14:47:19 auth-worker(5724): Debug: passwd-file /etc/dovecot/dovecot-master-users: Read 1 users in 0 secs
Feb 26 14:47:28 auth: Debug: master in: LIST    1       user=*  service=doveadm
Feb 26 14:47:28 auth-worker(5723): Debug: ldap: iterate: base=cn=users,dc=test,dc=com scope=subtree filter=(objectClass=posixAccount) fields=uid
Feb 26 14:47:28 auth-worker(5723): Debug: ldap: iterate: base=ou=集团董事会,dc=test,dc=com scope=subtree filter=(objectClass=posixAccount) fields=uid