CSIA AN
asked on
access apache via ldap and local password
I'm trying to setup apache to be accessed to users on a windows ldap server and local users on the unix host. I have configured a /localtion combining LDAP and local authentication, but it does not work. Only LDAP user can access the /location. Local user fails:
Here is the /localtion configuration:
Is possible to setup a /localtion on apache for LDAP and local password file authentication?
Is there another way to have both types of authentication?
Thanks
[Wed Aug 19 18:24:10 2015] [error] [client 192.168.174.31] user localuser not found: /svnweb
Here is the /localtion configuration:
# Repositorio SVNWEB
<Location /svnweb>
Dav svn
SVNPath /REPOS/SVNWEB/SVNWEB/
AuthType Basic
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPBindDN "userldap_bind@domain"
AuthLDAPBindPassword "password"
AuthLDAPURL "ldap://domain.net:3268/?sAMAccountName?sub?"
Require ldap-user user_domain_ldap
AuthName "SVN -- SVNWEB"
AuthUserFile "/opt/freeware/etc/httpd/conf/passwords_SVN/file_passwd_local_users"
require valid-user
Allow from 172.1.1.1
</Location>
Is possible to setup a /localtion on apache for LDAP and local password file authentication?
Is there another way to have both types of authentication?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Pefect!
Thanks
Thanks
Great :-)
ASKER
I see you have twice 'AuthUserFile'
Open in new window
Is it ok?