LINUX.ORG.RU
ФорумAdmin

AD + Postfix + Dovecot проблемы с фильтрами...


0

1

Приветствую сообщество. Настроил связку AD + Postfix + Dovecot + Kerberos. Это всё работает только для одного домена :( В атрибуте пользователей mail=test@test.com, в otherMailbox=vasya@otherdoamin.com,

petya@another.net .... и это не алиасы. Конфиги: Postfix ldap-users.cf server_host = server search_base = dc=cn,dc=energy version = 3 bind = yes bind_dn =

ldapmail@cn.energy bind_pw = passwd

query_filter = (&(objectCategory=person)(|(mail=%s)(otherMailbox=%s))(!(userAccountControl=514))) result_attribute = mail otherMailbox result_format = %d/%u

dovecot-ldap.conf hosts = server:3268 debug_level = 2 dn = ldapmail dnpass = passwd tls = no auth_bind = yes auth_bind_userdn = cn.energy\%u ldap_version = 3 base = dc=cn, dc=energy deref = searching scope = subtree user_attrs = mail=user,uid=vmail, gid=vmail user_filter = (&(objectclass=person)(|(sAMAccountName=%n)(otherMailbox=%n))(!(userAccountControl=514))) default_pass_scheme = CRYPT

Вывод postconf: атрибут mail postmap -q ross@test@test.com ldap:/etc/postfix/ldap-users.cf another.net/petya,otherdoamin.com/vasya,test@test.com/ross теоретически правильно нашёл, но вот вывод очень странный

атрибут otherMailbox postmap -q

ross@otherdoamin.com ldap:/etc/postfix/ldap-users.cf another.net/petya,otherdoamin.com/vasya,test@test.com/ross

Естественно Dovecot не может найти директорию Mailbox.

Кто сталкивался с таким чудом ?

Большое спасибо за вашу помощь !

Невменяемая портянка, отформатируйте как следует, опишите проблему более явно, приложите логи.

zgen ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.