Страница 1 из 1

как отключить в courier-imap LDAP

Добавлено: 2012-04-16 12:56:54
deniss
привет всем. подскажите как отключить LDAP в courier-imap
юзер отправлять письма может, а вот получить не может.

вот что в логах пишет:

Apr 16 12:35:23 x authdaemond: ldap_simple_bind_s failed: Can't contact LDAP server
Apr 16 12:35:23 x imapd: LOGIN FAILED, user=user@domain.ru, ip=[1.2.3.4]
Apr 16 12:35:23 x imapd: authentication error: Input/output error
Apr 16 12:35:23 x authdaemond: ldap_simple_bind_s failed: Can't contact LDAP server

зарание спасибо!

Re: как отключить в courier-imap LDAP

Добавлено: 2012-04-16 13:10:42
skeletor
В файле /usr/local/etc/authlib/authdaemonrc есть параметры

Код: Выделить всё

# Список модулей авторизации
authmodulelist="authldap"
authmodulelistorig="authldap"
Уберите всё, что касается ldap и поставьте своё.

Re: как отключить в courier-imap LDAP

Добавлено: 2012-04-16 13:19:32
deniss
поставил authuserdb

теперь вот что в логах.
юзеры у меня из /etc/master.passwd

Apr 16 13:16:33 x authdaemond: stopping authdaemond children
Apr 16 13:16:33 x authdaemond: modules="authuserdb", daemons=5
Apr 16 13:16:33 x authdaemond: Installing libauthuserdb
Apr 16 13:16:33 x authdaemond: Installation complete: authuserdb
Apr 16 13:16:47 x imapd: LOGIN FAILED, user=user@domain.ru, ip=[1.2.3.4]

Re: как отключить в courier-imap LDAP

Добавлено: 2012-04-16 13:53:10
skeletor

Re: как отключить в courier-imap LDAP

Добавлено: 2012-04-16 14:01:25
deniss
я так понял что надо создавать свою базу юзеров? а можно как-то чтоб брались юзеры из master.passwd?

Re: как отключить в courier-imap LDAP

Добавлено: 2012-04-16 14:15:18
skeletor
Видимо нет.