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

Ldap авторизация на Apache

Добавлено: 2012-06-01 16:15:08
BlitzKrieg
Что я делаю не так?

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

<Location "/">

   DAV On

   Options Indexes

 AuthType Basic
 AuthName "Data Exchange"
 AuthBasicProvider ldap
 AuthLDAPURL "ldap://server/dc=my,dc=domain,dc=ru?sAMAccountName"
 AuthLDAPBindDN "cn=user,ou=Admins,dc=my,dc=domain,dc=ru"
 AuthLDAPBindPassword mypassword
 AuthzLDAPAuthoritative off
 AuthLDAPGroupAttributeIsDN off


 Require ldap-group cn=test,ou=External Users,dc=my,dc=domain,dc=ru
</Location>
В логе апача

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

[Fri Jun 01 17:10:18 2012] [info] [client 172.16.6.242] [60849] auth_ldap authenticate: user myuser authentication failed; URI /favicon.ico [ldap_search_ext_s() for user failed][Operations error], referer: https://172.16.6.241/

Re: Ldap авторизация на Apache

Добавлено: 2012-11-10 10:52:15
Alex Keda
итоговый запрос словите, и посмотрите - ручками он выполняется или нет

Re: Ldap авторизация на Apache

Добавлено: 2012-11-10 15:07:07
BlitzKrieg
Тебе явно в выходной заняться нечем :-) Я эту проблему решил уже месяца 4 назад :-)