Добрый день, приручаю dovecot и AD , но не слишком хорошо все получается , так прошу совета.
Логи
Sep 24 16:44:40 auth(default): Info: new auth connection: pid=1625
Sep 24 16:44:40 auth(default): Info: new auth connection: pid=1626
Sep 24 16:44:40 auth(default): Info: new auth connection: pid=1627dovecot.conf
protocols = imap imaps
disable_plaintext_auth = no
#
info_log_path = /var/log/dovecot.log
log_timestamp = "%b %d %H:%M:%S "
login_log_format = %$: %s
auth_verbose = yes
auth_debug_passwords = yes
#
mail_location = maildir:/var/mail/%u
mail_access_groups = mail
protocol imap {
}
auth default {
passdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
userdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
user = mail
}
mechanisms = plain login
plugin {
quota = maildir
}
dovecot-ldap.conf
hosts = 192.168.2.99
dn = cn=user,DC=OR,DC=LOCAL
dnpass = gs
debug_level = 1
auth_bind = yes
ldap_version = 3
base = dc=OR, dc=LOCAL
deref = never
scope = subtree
user_filter = (&(objectClass=*)(userAccountControl=66048))
pass_filter = (&(objectClass=*)(userAccountControl=66048))