[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: NIS and Group control

From: Travis Love <dr.t.love_at_gmail.com>
Date: 2006-07-27 22:17:01 CEST

Once more, I promise. I've done everything, and it seems there are
still some tweaks that need doing that haven't been documented, so
once more. svnperms.conf is in /svn/repos/conf, svnperms.py and
pre-commit are in /svn/repos/hooks. This is what they look like:

--svnperms.conf--
[groups]
group1 = tlove2

--svnperms.py--
[Ripped straight from subversion source. Do modifications need to be made?]

--pre-commit--
[Template, only with]
svnperms.py -r "$REPOS" -t "$TXN" || exit 1
[instead of the other two "exit 1" lines]

httpd.conf looks like:
<VirtualHost *>
DocumentRoot "/svn/repos"
ServerName svntest.my.server.com
<Location "/">
DAV svn
SVNPath /svn/repos
AuthName "Please Login"
AuthType Basic
AuthPAM_Enabled on
Require valid-user
</Location>
</VirtualHost>

That's everything I've modified. I can access the repository as
either the group user or as a non-group user. Both users are
authenticated through NIS, neither user is a member of a group
"group1" in /etc/passwd, SVN server is running Fedora Core 5. I want
to let the group user have all permissions and the non-group user be
unable to see the code. Can I even do this with NIS authentication,
or do I need to have a cron job dump the NIS table to a file for
subversion to use over svnserve?

Paranoia? No. I'm implementing this for a Comp. Sci professor, who
is very concerned about code theft/plagiarism among his students.

Thanks for any help you can give, I'm very stuck here.
-Travis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 27 22:18:19 2006

This is an archived mail posted to the Subversion Users mailing list.