Results 1 to 2 of 2

Thread: SVN Configuration for authentication using svnserve

  1. #1

    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. #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

Similar Threads

  1. Help in the svnserve.conf configuration!
    By Tin Tin in forum General Setup and Troubleshooting
    Replies: 5
    Last Post: 07-06-2005, 11:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •