OC FreeBSD 7.0 RELEASE, инсталлированные пакеты - cyrus-sasl-2.1.22_1 cyrus-sasl-ldapdb-2.1.22 cyrus-sasl-saslauthd-2.1.22 openldap-sasl-client-2.4.11 openldap-sasl-server-2.4.11. Файл saslauthd.conf создавал ручками, его содержимое такого:ldap_version: 3
ldap_servers: ldap://localhost/
ldap_auth_method: custom
ldap_bind_dn: cn=Manager
ldap_bind_pw: secret
ldap_filter: (mail=%U@%d)
ldap_password_attr: userPasswordsasl запускается с параметрами "-a ldap". В slapd.conf прописал на свякий случай sasl-host localhost. При попытке testsaslauthd -u usr1 -p pass
0: NO "authentication failed". В логах такое:Sep 1 16:08:19 hosM saslauthd[1171]: user ldap_search_st() failed: Referral
Sep 1 16:08:19 hosM saslauthd[1171]: Retrying authentication
Sep 1 16:08:19 hosM saslauthd[1171]: user ldap_search_st() failed: Referral
Sep 1 16:08:19 hosM saslauthd[1171]: do_auth : auth failure: [user=usr1] [service=imap] [realm=] [mech=ldap] [reason=Unknown]Все из /usr/local/share/doc/cyrus-sasl2 проделано, только результаты никакие?!
>OC FreeBSD 7.0 RELEASE, инсталлированные пакеты - cyrus-sasl-2.1.22_1 cyrus-sasl-ldapdb-2.1.22 cyrus-sasl-saslauthd-2.1.22 openldap-sasl-client-2.4.11 openldap-sasl-server-2.4.11.
>Файл saslauthd.conf создавал ручками, его содержимое такого:
>
>ldap_version: 3
>ldap_servers: ldap://localhost/
>ldap_auth_method: custom
>ldap_bind_dn: cn=Managerкакой то странный dn
>[оверквотинг удален]
>0: NO "authentication failed". В логах такое:
>
>Sep 1 16:08:19 hosM saslauthd[1171]: user ldap_search_st() failed: Referral
>Sep 1 16:08:19 hosM saslauthd[1171]: Retrying authentication
>Sep 1 16:08:19 hosM saslauthd[1171]: user ldap_search_st() failed: Referral
>Sep 1 16:08:19 hosM saslauthd[1171]: do_auth
> : auth failure: [user=usr1] [service=imap] [realm=] [mech=ldap] [reason=Unknown]
>
>
>Все из /usr/local/share/doc/cyrus-sasl2 проделано, только результаты никакие?!
Д ничего тут странного если корен "." ..Дальше что прорекомендуете?
>[оверквотинг удален]
>>0: NO "authentication failed". В логах такое:
>>
>>Sep 1 16:08:19 hosM saslauthd[1171]: user ldap_search_st() failed: Referral
>>Sep 1 16:08:19 hosM saslauthd[1171]: Retrying authentication
>>Sep 1 16:08:19 hosM saslauthd[1171]: user ldap_search_st() failed: Referral
>>Sep 1 16:08:19 hosM saslauthd[1171]: do_auth
>> : auth failure: [user=usr1] [service=imap] [realm=] [mech=ldap] [reason=Unknown]
>>
>>
>>Все из /usr/local/share/doc/cyrus-sasl2 проделано, только результаты никакие?!Попробуй realm указать
>Попробуй realm указатьЗа вопрос простите, а где его указать?