Re: [viewvc-dev] ViewVC 1.1
"Phil Pinkerton" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Mar 28, 2008 at 1:11 PM, C. Michael Pilato <[email protected]> wrote: > Phil Pinkerton wrote: > > What is currently set: > > > > [general] -- (don't see authorizer = in this section of the conf file > ) > > > > root_parents = /svn/Repositories : svn > > > > [utilities] > > > > svn = /svn/bin > > diff = /usr/local/bin/diff > > > > [options] -- ( everything not listed here is default or commented out ) > > > > authorizer = svnauthz > > authorizer = forbiddenre -- ( this is working perfectly ) > > template_dir = /svn/src/viewvc-1.1-dev-2008328/templates > > If you have authorizer= in here twice, only the second instance will > "take". > You cannot have multiple authorizers in play at once. If you want > 'svnauthz' to work, you have to give up 'forbiddenre'. > > > * Are the names of the repositories in the svn.access file the same > > as the > > names of the roots under ViewVC? > > > > > > This may be the issue as we put nothing here it is the commented out - > > default > > #svn_roots = svn: /home/svnrepos > > All repositories have names in ViewVC. If they aren't explicitly named in > svn_roots, they are implicitly named the same as their basename on disk. > So > if you use: > > root_parents = /opt/svn : svn > > And there is a repository sitting at /opt/svn/my-repos, then that > repository's name in ViewVC is "my-repos". > > > * Are you requiring all ViewVC users to provide usernames/passwords, > > where > > the usernames match those found in your svn.access file? > > > > > > Yes we modified the httpd configuration file to use LDAP for ViewVC as > > well as Subversion > > this is working very well also. > > Cool. > > -- > C. Michael Pilato <[email protected]> > CollabNet <> www.collab.net <> Distributed Development On Demand > > Well at this point I commented out all the Forbidden and Forbiddenre attributes. Set the authorizer = svnauthz and authzfile = /svn/conf/accessControl/svn.access I completely removed myself from the svn.access file, However I was still able to use ViewVC to see all repositories and subdirectories, perhaps using LDAP has some conflict ? Phil -- " The fundamental principle here is that the justification for a physical concept lies exclusively in its clear an unambiguous relation to the facts it can be experienced" AE