LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-04-2010, 06:49 PM   #1
xcoldfyrex
LQ Newbie
 
Registered: May 2006
Location: Sunnyvale,CA
Distribution: gentoo
Posts: 20

Rep: Reputation: 0
Apache + NIS +SVN authentication


I have apache to handle svn authentication(all users have rw) via the perl NIS handler, that part works fine. What I need to do is go a step further and make it so certain(NIS) group members or users only have READ access.

Code:
<Location /svn>
   DAV svn
   SVNParentPath /var/www/svn
   AuthType Basic
   AuthName "The SVN Server!!"
   PerlAuthenHandler Apache2::AuthenNIS
   PerlSetVar AllowAlternateAuth no
   <LimitExcept GET PROPFIND OPTIONS REPORT>
      AuthType Basic
      AuthName "The SVN Server!!"
      PerlAuthenHandler Apache2::AuthenNIS
      PerlSetVar AllowAlternateAuth no
      Require valid-user
   </LimitExcept>
   <Limit GET PROPFIND OPTIONS REPORT>
      AuthType Basic
      AuthName "The SVN Server!!"
      PerlAuthenHandler Apache2::AuthenNIS
      PerlSetVar AllowAlternateAuth no
      Require pixel
   </Limit>
</Location>
Something like this, but this example seems to disallow any methods. How can I go about doing this and still use apache/NIS auth?
 
Old 10-06-2010, 04:45 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
In present setup can you control read or read-write permissions on projects created in repositories?
It is possible to give read or write permission if you follow apache authentication (using htpasswd) by specifying /etc/svn-acl and defining users and projects with read or write permissions in it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ad authentication with nis rajiv.patil82 Linux - Server 3 09-23-2010 05:46 PM
SVN authentication problem sanjee Linux - Server 1 11-04-2009 02:44 PM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 05:31 AM
Generalize the authentication for SVN lakshmi4linux Linux - Newbie 3 03-27-2009 03:13 AM
SVN User authentication??? ajeetraina Linux - Server 5 07-09-2007 02:18 AM


All times are GMT -5. The time now is 03:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration