You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-utils-2.1-server/profile/mail/etc/dovecot/dovecot-ldap.conf

32 lines
1.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Calculate format=dovecot\
chmod=0600\
chown=root:root
# LDAP хост
hosts = #-os_net_hostname-#
# DN администратора
dn = #-ld_mail_dn-#
# Пароль администратора
dnpass = #-ld_mail_pw-#
# Включить аутенфикацию
auth_bind = yes
# Пользователь для аутенфикации
auth_bind_userdn = uid=%u,ou=Users,#-ld_mail_dn-#
# Версия LDAP протокола
ldap_version = 2
# Базовый DN LDAP
base = ou=Users,#-ld_mail_dn-#
# Тип поиска: base, onelevel, subtree
scope = subtree
# Фильтр для поиска пользователя
user_filter = (&(objectClass=qmailUser)(uid=%u))
# Фильтр для поиска пароля
pass_filter = (&(objectClass=qmailUser)(uid=%u))
# Схема шифрования пароля
# Поддерживаемые схемы: http://wiki.dovecot.org/Authentication
default_pass_scheme = SSHA
# поля данные о пользователе
user_attrs = uid=uid
# удаляем глобальные uid и gid
!user_global_uid = del
!user_global_gid = del