authentication - how to allow unamed user in svn authz file? -


i have subversion server running apache. authenticates users using ldap in apache configuration , uses svn authorizations limit user access repositories. works perfectly.

apache

dav svn svnparentpath /srv/svn svnlistparentpath off svnpathauthz off authtype basic authname "subversion repository" authbasicprovider ldap authldapbinddn        # private stuff authldapbindpassword  # private stuff authldapurl           # private stuff require valid-user authzsvnaccessfile /etc/apache2/dav_svn.authz 

subversion

[groups] soft = me, and, all, other, developpers 

adding anonymous access 1 machine

now, have service want setup (rietveld, code reviews) needs have anonymous access repository. web service, accesses done same server. added apache configuration allow accesses machine. did not work until add additional line in authorization file allow read access users.

apache

<limit propfind options report>   order allow,deny   allow # private ip address   satisfy </limit> 

subversion

[software:/] @soft = rw * = r                    # <-- added line 

for instance, before add authorization specific ip, users authenticated, , had name. now, accesses done without user name! found - user name in apache log files, line - = r not work, neither anonymous = r. i'd not allow read access in svn authorization. how can this?

try putting in authz file:

[software:/] @soft = rw $anonymous=r 

Comments

Popular posts from this blog

Delphi Wmi Query on a Remote Machine -