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

Re: SASL and svnserve not working as expected

From: Matt Milliss <matt.milliss_at_gmail.com>
Date: Thu, 12 Nov 2009 15:01:28 +1100

Thanks Andy,

I'll make sure I start a new post next time. I had a look at syslog and
found it was a permissions problem on the /etc/my_sasldb file, I fixed
this and now I can check out but I am still asked to authenticate even
though I have anonymous access turned on. I thought I would be able to
checkout without having to authenticate.

Cheers
Matt

On 12/11/09 13:15, Andrey Repin wrote:
> Greetings, Matt Milliss!
>
>
>> Date: Thu, 12 Nov 2009 11:17:21 +1100
>> From: Matt Milliss<matt.milliss_at_gmail.com>
>> To: users_at_subversion.tigris.org
>> Message-ID:<4AFB5411.9020500_at_gmail.com>
>> In-Reply-To:<35337379-9232-4A39-8DD5-B5ADE7DB146E_at_ryandesign.com>
>> References:<12588430.26512.1257761647803.JavaMail.httpd_at_localhost> <31310024.4431.1257945766510.JavaMail.httpd_at_localhost> <35337379-9232-4A39-8DD5-B5ADE7DB146E_at_ryandesign.com>
>> Subject: SASL and svnserve not working as expected
>>
> Please post a new message when opening a new subject, instead of replying to
> unrelated thread.
>
>
>> I've been trying to get SASL working with svnserve without much success.
>> My svnserve.conf files looks like this;
>> [general]
>> anon-access = read
>> auth-access = write
>> realm = eng
>> [sasl]
>> use-sasl = true
>>
>
>> and I created an svn.conf file at /etc/sasl2 with the following contents
>> pwcheck_method: auxprop
>> auxprop_plugin: sasldb
>> sasldb_path: /etc/my_sasldb
>> mech_list: DIGEST-MD5
>>
>
>> then created a user with this command
>> saslpasswd2 -c -f /etc/my_sasldb -u eng matthew
>>
>
>> now when I try to checkout the following happens
>> [matthew_at_lightning checkout]$ svn co svn://svn/eng/trunk/QA
>> Authentication realm:<svn://svn:3690> eng
>> Password for 'matthew':
>> Authentication realm:<svn://svn:3690> eng
>> Username: matthew
>> Password for 'matthew':
>> Authentication realm:<svn://svn:3690> eng
>> Username: natthew
>> Password for 'natthew':
>> svn: Authentication error from server: SASL(-13): user not found: no
>> secret in database
>>
>
>> The first thing I've noticed is that I've lost anonymous checkout even
>> though I've set anon-access to read in svnserve.conf and even when I
>> enter my username and password I still can't checkout from the repo.
>>
> What's in server logs? And i mean syslog specifically. Usually they are more
> explanatory about such issues.
>
>
> --
> WBR,
> Andrey Repin (anrdaemon_at_freemail.ru) 12.11.2009,<5:12>
>
> Sorry for my terrible english...
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2416867

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-12 05:02:36 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.