Thanks for the help.My problem was solved, when i have added the directive "AuthzLDAPAuthoritative off"
Now i am able to authenticate with LDAP. Is it mandatory to add the "AuthBasicProvider ldap" Thanks, Om. On 24-Oct-06, at 7:02 PM, Kenneth Svee wrote:
[ Om ]Hi, I have installed apache 2.2.2 in my local machine. I am using in built LDAP server on a MAC OS X server. I want to provide access to few resources on the webserver authenticated against LDAP. mod_ldap and mod_authnz_ldap modules are enabled in apache. Below is the Authorization code that i have included in Apache <Directory "/opt/apache2.2.2/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all AuthName "LDAP authentication required" AuthType BasicAuthLDAPURL ldap://192.168.1.3/ cn=users,dc=neptune,dc=effigent,dc=net?uid require valid-user </Directory>You'll need to add: AuthBasicProvider ldap as well. See the docs: http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html Rgds, Kenneth Svee ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx