RE: [viewvc-users] Integration of svn authz file
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <95F9275A5D8D1747939A84E03937148F470C4CC6A3@MSGCMSV21043.ent.wfb.bank.corp> |
Ok.....*duh* moment over here... I'm using the wrong version :( Thanks! Benjamin Ortega -----Original Message----- From: C. Michael Pilato [mailto:[email protected]] Sent: Wednesday, January 05, 2011 12:16 PM To: Ortega, Benjamin Cc: [email protected] Subject: Re: [viewvc-users] Integration of svn authz file On 01/05/2011 12:26 PM, [email protected] wrote: > I’m new to viewvc, and am working off of a preconfigured installation > that was here before I started. The guy who configured it is gone. > > I’ve recently added an svnauthz file to the svn configuration, which > works perfectly. I’m trying to now configure ViewVC to use that > svnauthz file, but am running into problems. I’m sure the problem is > I just don’t understand what I’m doing! J > > So this is the viewvc.conf file in /etc/viewvc/: [...] > From my reading of whatever I could get ahold of using google, I’ve > added the following lines: > > To the [options] section: > authorizer = svnauthz > > and then: > [authz-svnauthz] > authzfile = /path/to/svnauthz_file > > After I add those lines, it still doesn’t use the authz file. Users > are able to fully browse the entire repo regardless of the restrictions. What version of ViewVC are you running? The presence in your configuration file of options like 'use_enscript' and 'py2html_path' would seem to indicate either that you are running ViewVC 1.0.x (which doesn't offer the authorizer feature at all), or that your configuration was not very carefully migrated when you guys upgrade from ViewVC 1.0.x to ViewVC 1.1.x. Assuming you're running ViewVC 1.1.x, is your ViewVC *authentication* -- that is, whether or not users are required to provide a username/password or some other identifying credentials -- configured the same way that your Subversion authentication is? -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2696149 To unsubscribe from this discussion, e-mail: [[email protected]].