Announcement

Collapse
No announcement yet.

SVN Configuration for authentication using svnserve

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SVN Configuration for authentication using svnserve

    Hope someone can help here...

    I have SVN installed and working fine through svnserver. I set it up as defaults and everything was fine until we discovered some problems with permissions.

    To get round these we ran up svnserver again with default parameters - again all fine but now no one can commit 8^(

    OK - opened up the permissions setting anon-access = write - GREAT ! now they can all commit but I've lost the author in the logs 8^((

    So. Changed the conf to include the following :

    [auth]
    store-auth-creds = yes
    store-passwords = yes

    [general]
    anon-access = read
    auth-access = write

    [users]
    password-db = password
    realm = Retail2

    The password file contains :

    [users]
    rtopshzs = fred

    I have restarted svnserver, removed local .subversion directories to no avail - no one has access or is even ASKED for username/password.

    Can someone PLEASE tell me what I am missing here.

    We don't really want to set up apache ( i have no idea howto apart from anything else ) and we have no need for any tighter security. Just want multii-user access with an author on the commit

    Regards
    Howard

  • #2
    Sussed

    OK the readme bitz in the svnserve.conf were not very helpful here.

    The comments imply that the conf file should contain :

    [auth]
    store-auth-creds = yes
    store-passwords = yes
    [general]
    anon-access = read
    auth-access = write
    [users]
    password-db = password
    realm = Retail2

    This is NOT correct -

    REMOVE the [users] from the svnserve.conf and put a full path to the password file :
    [auth]
    store-auth-creds = yes
    store-passwords = yes
    [general]
    anon-access = read
    auth-access = write
    password-db = /usr/develop/Retail/RetailRepos/conf/passwordfile
    realm = Retail2

    And it all works swimingly !

    Hope this helps someone

    Comment

    Working...
    X