Re: [viewvc-users] Re: Authentication
"C. Michael Pilato" <[email protected]> Mon, 30 Apr 2012 12:27:03 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
Yes, there is a way to authenticate against LDAP. No, I have no idea how this is done. :-) (Seriously, you'll probably just need to consult Apache's documentation regarding its LDAP-related auth modules.) On 04/30/2012 12:10 PM, Parekh, Birju wrote: > Thanks a lot. Now I am able to authenticate. I am in a test phase. Is there a way to authenticate towards LDAP instead of local authentication. I am a newbie and would really appreciate your help. > > OS: Fedora 16 > Apache 2 > > Thanks > > Birju Parekh > Network & Voice Engineer > Northwestern Medical Faculty Foundation > 680 N Lake Shore Driver Suite 1118 > Chicago, IL 60611 > Phone (312) 695 4775 > Email: [email protected] > > > -----Original Message----- > From: C. Michael Pilato [mailto:[email protected]] > Sent: Monday, April 30, 2012 10:54 AM > To: Parekh, Birju > Cc: [email protected] > Subject: Re: [viewvc-users] Re: Authentication > > On 04/30/2012 09:19 AM, Parekh, Birju wrote: >> Hi, >> >> I am setting up Rancid on Fedora. I am using ViewVC and CVS for the webview. >> Is there a way to authenticate the viewvc page. I donot want to use >> LDAP just something generic where it prompts for username and >> password. If these is possible can you send me instructions on how to do these. > > Check out this information regarding authentication and access control under > Apache: > > http://httpd.apache.org/docs/2.0/howto/auth.html > > The simplest Apache configuration generally looks something like this for, say, a ViewVC instance that's exposed at http://myserver.com/apps/viewvc: > > <Location /apps/viewvc> > AuthType Basic > AuthName "Rancid Users" > AuthUserFile /path/to/htpasswd-file > Require valid-user > </LocationMatch> > > And then you have the file which contains the usernames and passwords against which your users authenticate, located at the path indicated by the AuthUserFile directive, and created/managed by the 'htpasswd' program provided with the Apache HTTP Server distribution. > > -- > C. Michael Pilato <[email protected]> > CollabNet <> www.collab.net <> Enterprise Cloud Development > -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Enterprise Cloud Development ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2956361 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk+evVcACgkQokEGqRcG/W4FtQCeJDbUfeL7+bqy+5Jp6eGwLu/Y Qe0AoJfvqD/+rC8r2AyB0c8KR9X/QAJe =Eypa -----END PGP SIGNATURE-----