RE: [viewvc-users] Authorization problem
James Lee <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
It's fixed!
I was missing AuthBasicProvider => 'ldap', from the second block of perl code in subversion.conf.
$LocationMatch{"^/viewvc/$repo_name(\$|/)"} = {
AuthType => 'Basic',
AuthBasicProvider => 'ldap',
AuthName => 'Authorization',
AuthLDAPURL => 'ldap://ldap.advance.net/dc=advance,dc=net',
};
Many thanks.
Regards,
James.
-----Original Message-----
From: James Lee
Sent: Tuesday, October 04, 2011 11:00 AM
To: 'C. Michael Pilato'
Cc: [email protected]
Subject: RE: [viewvc-users] Authorization problem
Hi All,
There is a perl script, in subversion.conf, that generates directives, see subversion_perl_dump.txt for a couple of examples of directives output. The conf.d stuff is in /etc/httpd/conf.d.
Server version: Apache/2.2.3
Server built: May 4 2011 06:51:15
viewvc-1.1.11
Subversion command-line client, version 1.6.11
Regards,
James.
-----Original Message-----
From: C. Michael Pilato [mailto:[email protected]]
Sent: Tuesday, October 04, 2011 9:47 AM
To: James Lee
Cc: [email protected]
Subject: Re: [viewvc-users] Authorization problem
James, the error log entry that you see is not coming from ViewVC, but from Apache itself. I'm not sure exactly which code path leads to this error -- perhaps you could share with us the related configuration sections from your httpd.conf file? (Feel free to obfuscate private information therein.)
On 10/03/2011 05:52 PM, James Lee wrote:
> Hi All,
>
> I have a subversion install that is working when I issue the command:
>
> svn checkout http://801-svn-dev-01.host.advance.net/yum-updater
>
> But, when I open a web browser and go to
> http://801-svn-dev-01.host.advance.net/viewvc then click yum-updater,
> and use the same username and password, I see the following error in
> the logs and I am refused access to the web page.
>
> [Mon Oct 03 17:44:50 2011] [error] [client 10.11.1.222] access to
> /viewvc/yum-updater/ failed, reason: verification of user id 'jmlee'
> not configured, referer: http://801-svn-dev-01.host.advance.net/viewvc
>
> I chose yum-updater as an example, but it is the same for other repos too.
> Any suggestions on where to start looking would be welcome.
>
> James.
--
C. Michael Pilato <[email protected]>
CollabNet <> www.collab.net <> Distributed Development On Demand
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2849996
To unsubscribe from this discussion, e-mail: [[email protected]].