I am trying to add a user to my SVN server that can only access one of about a dozen repositories I have set up. Here are the files that I think need changed and what I have set them to. No matter what I try with these files I am unable to see the results I am after. In the end I want this new user to be able to access repository #1 and not 2 or any others (as an example).
This file lists several users I have set up with encrypted passwords. If I add user1 here through ssh the new user works flawlessly. The problem is that the user is able to access all repositories.
Does the /etc/ file hold the complete set of users while /var/svn/ files contain a subset for specific targeting? Editing anything in /var/svn/ has not seemed to make any difference but the /etc/ file gives to much power.
I have spent several hours trying different tutorials and editing these files. I would really appreciate some guidance. Thanks!
---------- Post updated at 02:28 PM ---------- Previous update was at 02:31 AM ----------
Solved. I had to add an authz file to /etc/httpd/.... and reference it properly from the svn conf file. The repository files don't seem to work in my case.
Last edited by Scott; 08-19-2010 at 06:28 AM..
Reason: Please use code tags
I am trying to change a password for a user I just created. Everytime I do I recieve this message.
3004-622 An error occurred updating the password database.
3004-709 Error changing password for "heather1" : Value is invalid.
I have made plenty of users and never had this happen... (6 Replies)
Hi there,
I'm looking for some help to get a little script done that shows me (or counts) only the added lines from an SVN repository of one specific user. Anybody has an idea?
Thanks, Michael (0 Replies)
Hello!
I need some advice about using WebDav in Mac OS 10.5
My problem is that I mount a WebDav folder in the hard drive pointing to a webdav directory service running under apache (it's Alfresco, if you know it) but the permissions of this directory, when mounted, are only for the user who... (0 Replies)
Update: Please anybody can give some help ?
I've an issue with files ownerships.
I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php.
However I'm now using svn and I need all folders and files to be owned by my... (1 Reply)
Here is a shell for printing committed person's:
1. Revision number
2. Name
3. Date of commit
4. Files committed.
5. committing comment
6. Date
I just made for my usage. May be helpful for you too.
Do as follows.
create a file
$ vi svn_get_user_committed_files_details.sh
press i... (3 Replies)
i want to get user input like this
please tell which option to chose
1. mango 2. tango 3. rango
if user chooses mango
then it should execute a set of statements and again ask like this
what do you want to do
1.add 2.subtract 3.exit
when i choose exit it should goto my previous menu... (4 Replies)
Hi,
I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7.
bash-3.00# ./svn --version
svn, version 1.7.4 (r1295709)
compiled Mar 2 2012, 12:59:36
Here my requirement is how to integrate svn client to One of the SVN server repository.
My repository... (0 Replies)
Hello,
I am working on setup LDAP Server and facing issue related to assigning user to a group. Below is the LDAP structure i am using.
I have created Users,Groups and Servers ou's and sub ou's added to the same or Users as well as Groups OU.
Logged in as: cn=Manager,dc=bebolabs,dc=net
... (0 Replies)
Hi all,
I'm running SVN on Ubuntu 12.04, and I have to connect it to an online repository accessed by HTTPS. I can check out files from the repository just fine with the command:
svn checkout <https://pathToRepository>But, I can't update the working copy properly after I make changes. I change... (1 Reply)
Hi Folks ,
I am asking this question but i apologise please if this is not the correct forum ,
I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies
LEARN ABOUT OPENSOLARIS
svnserve.conf
svnserve.conf(5) File Formats Manual svnserve.conf(5)NAME
svnserve.conf - Repository configuration file for svnserve
SYNOPSIS
repository-path/conf/svnserve.conf
DESCRIPTION
svnserve.conf controls the behavior of the svnserve daemon on a per-repository basis. It is located in the conf subdirectory of the repos-
itory.
The overall structure of the file is the same as the structure of Subversion user configuration files. At the top level are sections,
which are specified by words in square brackets; inside each section are variable definitions of the form "variable = value". Lines begin-
ning with '#' are ignored. svnserve.conf currently uses only one section named "general", and supports the following variables:
anon-access = none|read|write
Determines the access level for unauthenticated users. write access allows all repository operations. read access allows all opera-
tions except committing and changing revision properties. none access allows no access. The default level is read.
auth-access = none|read|write
Determines the access level for authenticated users, using the same access levels as above. The default level is write.
password-db = filename
Sets the location of the password database. filename may be relative to the repository conf directory. There is no default value.
The password database has the same overall format as this file. It uses only one section "users"; each variable within the section is
a username, and each value is a password.
realm = realm-name
Sets the authentication realm of the repository. If two repositories have the same password database, they should have the same
realm, and vice versa; this association allows clients to use a single cached password for several repositories. The default realm
value is the repository's uuid.
EXAMPLE
The following example svnserve.conf allows read access for authenticated users, no access for anonymous users, points to a passwd database
in the same directory, and defines a realm name.
[general]
anon-access = none
auth-access = read
password-db = passwd
realm = My First Repository
The file "passwd" would look like:
[users]
joeuser = joepassword
jayrandom = randomjay
SEE ALSO svnserve(8)ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWsvn |
+--------------------+-----------------+
|Interface Stability | Committed |
+--------------------+-----------------+
NOTES
Source for Subversion is available on http://opensolaris.org.
svnserve.conf(5)