Help with AuthzSVNAccessFile + LDAP why I get this error?
am 07.09.2007 18:32:45 von albertoHallo I have subversion thath athenticate users throught LDAP...
So this is my svn.conf:
DAV svn
SVNParentPath /usr/local/svn
AuthLDAPAuthoritative on
AuthType Basic
AuthName "MY Domain users only"
AuthLDAPBindDN "CN=Utente
LDAP,OU=Gruppi,OU=Altro,DC=mycomp,DC=myco,DC=dom"
AuthLDAPBindPassword mypwdldap
AuthLDAPURL "ldap://serverldap:3268/DC=mycomp,DC=myco,DC=dom?
sAMAccountName?sub?(objectClass=*)"
AuthzSVNAccessFile /usr/local/apache2_svn/conf/accesslist.acl
require valid-user
The authentication works perfectly :
- [Fri Sep 07 18:00:31 2007] [warn] [client 192.168.1.22] [17108]
auth_ldap authenticate: user asdasd
authentication failed; URI /svn/project1/ [User not found][No such
object], referer: http://mysvnweb:8080/
- 192.168.1.22 - pippo [07/Sep/2007:18:08:49 +0200] "OPTIONS /svn/
project1 HTTP/1.1" 200 188
(the first does not exist and the second is an LDAP user)
the problem is with my AuthzSVNAccessFile /usr/local/apache2_svn/conf/
accesslist.acl
[/]
* = rw
pippo = r
In this way pippo should NOT be able to do a commit (I use tortoise
svn).
but it is!!!
[/]
* = r
pippo = rw
In this way pippo should be able to do a commit (I use tortoise svn).
AND IT IS!
[/]
pippo = r
HERE pippo is correctly not able to do a commit.
The access log shows that the string of the username is - right -
"pippo"...
So why the first rule overrides the others?
Please help me my eyes are burning!!
Tnx.
AL.