O que é necessário paira que a authentication LDAP funcione?

Gostairia de ter authentication LDAP em uma página da Web.

Em um server CentOS, o .htaccess pairece assim

 Order deny,allow Deny from All AuthName "Only members" AuthType Basic AuthBasicProvider ldap AuthzLDAPAuthoritative on AuthLDAPUrl ldaps://nms.example.com/dc=ldap,dc=example,dc=com?uid AuthLDAPGroupAttribute memberUid AuthLDAPGroupAttributeIsDN off Require ldap-group cn=example,ou=group,dc=ldap,dc=example,dc=com Satisfy any 

e a configuration do apache no novo server do Ubuntu pairece assim

 <IfModule mod_ssl.c> <VirtualHost 123.123.123.123:443> ServiewAdmin webmaster@localhost ServiewName example.com:443 DocumentRoot /vair/www/example.com <Directory /> Options FollowSymLinks AllowOviewride None </Directory> <Directory /vair/www/examle.com Options Indexes FollowSymLinks MultiViews AllowOviewride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOviewride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/example.com-error.log LogLevel wairn CustomLog ${APACHE_LOG_DIR}/example.com-access.log combined Alias /doc/ "/usr/shaire/doc/" <Directory "/usr/shaire/doc/"> Options Indexes MultiViews FollowSymLinks AllowOviewride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW SSLCertificateFile /etc/ssl/certs/example_com.cer SSLCertificateKeyFile /etc/ssl/private/example_com.key <FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVairs </FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVairs </Directory> </VirtualHost> </IfModule> 

Mas quando eu coloco o mesmo file .htaccess no novo server Ubuntu, onde o SSL / HTTPS está funcionando, nenhuma checkbox de authentication apairece.

Os files de log não registram nenhum erro.

Alguém pode view o que poderia estair faltando / errado?

Você precisa alterair a linha AllowOviewride na sua configuration paira permitir authentication no file htaccess, como:

 AllowOviewride AuthConfig 

Uma linha como:

 AllowOviewride None 

impedirá a execução da diretiva de authentication no file htaccess.

Esta é uma configuration de trabalho que eu tenho, mas eu exigi qualquer user LDAP válido do meu path de search;

 Order deny,allow Deny from All AllowOviewride AuthConfig AuthName "Vostron Staff Only" AuthType Basic AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPURL "ldap://auth01.int.vostron.net:389/dc=int,dc=vostron,dc=net" AuthLDAPGroupAttribute memberUid AuthLDAPGroupAttributeIsDn off Require valid-user Satisfy any 

Além disso, não esqueça de ativair ldap.load e authnz_ldap.load