You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jan Gruber <ja...@primacom.net> on 2004/09/22 14:00:50 UTC
default svnserve.conf
Hi, list!
First of all, thx for all your work. Subversion corrects most things i missed
under CVS.
I just found out, that the default svnserve.conf is a bit misleading about how
to configure authenticated access.
The keywords "realm" and "passwd-db" appear under [users] where they dont have
any effect. It took me a day to find out, that they have to placed under
[general] to be accepted by the server. The svn book is correct about it, but
I overlooked this detail.
My suggestion would be to put the keywords "realm" and "passwd-db" in section
[general] in the (generated -> svnadmin create) default config.
Please cc me, since I'm not subscribed.
Best regards,
Jan
--
Jan Gruber Primacom AG
Central Systems
cat /dev/world | perl -e "while (<>) {(/(^.*?\?) 42\!/) && (print $1)}"
errors->(c)
-
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: default svnserve.conf
Posted by Jan Gruber <ja...@primacom.net>.
On Wednesday 22 September 2004 19:12, you wrote:
> Current code generates a default svnserve.conf with:
> ...
> Do you think this is still confusing? The [users] section doesn't
> belong in svnserve.conf at all; it belongs in the password-db file.
Looks better. Where did [General] go? Did you miss it when snipping out this
fragment or is it no longer needed?
How about Mark's ideo to generate a separate password file on repository
creation? I think its a good idea.
Best regards,
Jan
--
Jan Gruber Primacom AG
Central Systems
cat /dev/world | perl -e "while (<>) {(/(^.*?\?) 42\!/) && (print $1)}"
errors->(c)
-
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: default svnserve.conf
Posted by Mark Phippard <Ma...@softlanding.com>.
Greg Hudson <gh...@MIT.EDU> wrote on 09/22/2004 01:12:22 PM:
> On Wed, 2004-09-22 at 10:00, Jan Gruber wrote:
> > The keywords "realm" and "passwd-db" appear under [users] where they
dont have
> > any effect.
>
> Current code generates a default svnserve.conf with:
>
>
> Do you think this is still confusing? The [users] section doesn't
> belong in svnserve.conf at all; it belongs in the password-db file.
>
I found it mildly confusing when I started. In the current version of the
text, I would like to see all of the stuff about the format of the
password database moved to the end of the text after the explanation of
the fields that can appear in svnserve.conf. I think that might just make
things more clear to some users.
I do not think this next idea will garner much support, but I personally
feel that creating a repository ought to just also generate a sample
password database file in the conf folder and then place all of that text
about its format within that file.
Finally, as a Windows user working with a more *nix-oriented product, I
was a bit confused about file extensions. The example in the text shows a
filename of "passwd" and for some reason I thought the filename I created
had to have an extension like .conf and that it would just be added
automatically. Reading the text now, I do not think the text implies
that. Perhaps the version of the book at that time created that
impression? Anyway, I think it would be more obvious if the example file
name were just "passwd.db" or "passwd.conf".
Thanks
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: default svnserve.conf
Posted by Greg Hudson <gh...@MIT.EDU>.
On Wed, 2004-09-22 at 10:00, Jan Gruber wrote:
> The keywords "realm" and "passwd-db" appear under [users] where they dont have
> any effect.
Current code generates a default svnserve.conf with:
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### The format of the password database is similar to this file.
### It contains one section labelled [users]. The name and
### password for each user follow, one account per line. The
### format is
### USERNAME = PASSWORD
### Please note that both the user name and password are case
### sensitive. There is no default for the password file.
# password-db = passwd
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa. The default realm
### is repository's uuid.
# realm = My First Repository
Do you think this is still confusing? The [users] section doesn't
belong in svnserve.conf at all; it belongs in the password-db file.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org