Pessoas,
To com uma dúvida: Eu preciso fazer um diretório do apache(usando a diretiva
Location por exemplo) autenticar pelo ldap OU pelo AuthUserFile. Explicando
melhor.... se o usuário não estiver na base LDAP ele autenticar usando um
arquivo de senhas com o AuthUserFile.
Autenticando Usuário Gabriel.... existe no LDAP: não::: então pesquisar o
arquivo .htpasswd.
Eu tentei usar as diretivas Satisfyany e Satisfyone, mas não tive sucesso.
<Location /private>
AuthzLDAPEngine on
<SatisfyOne>
AuthzLDAPServer localhost
AuthzLDAPUserBase ou=Users,dc=example,dc=com,dc=br
AuthzLDAPUserKey uid
AuthzLDAPUserScope base
AuthType basic
AuthzLDAPAuthoritative off
AuthName "[EMAIL PROTECTED]"
AuthUserFile /etc/httpd/.htpasswd
require valid-user
</SatisfyOne>
</Location>
Alguém já passou por isso?
Abraço,
--
/\
Gabriel Stein
[EMAIL PROTECTED]
MSN: [EMAIL PROTECTED]
Administrador de Redes -
Network Administrador
Linux User #223750
51-92796310
Porto Alegre - RS - Brasil
_______________________________________________
Linuxchix mailing list
[email protected]
http://listas.linuxchix.org.br/mailman/listinfo/linuxchix