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

Re: Issue with subversion authentication

From: Branko Čibej <brane_at_wandisco.com>
Date: Wed, 01 Apr 2015 10:20:56 +0200

On 01.04.2015 08:58, Matthew Durandt wrote:
> Hi,
>
> I'm having issues with SVN authenticating my users against my users
> file. SVN was working yesterday morning, I then created a new user
> account on the SVN server and created a new SVN user using the
> htpasswd command. Since then my subversion is no longer authenticating
> my users from the users file. In TortoiseSVN I am getting this error:
> "Unable to connect to a repository at URL 'https:...' OPTIONS of
> 'https:...': authorization failed: Could not authenticate to server:
> rejected Basic challenge"
>
> I have tried removing the new user using the htpasswd -D command but
> that hasn't fied the problem with the authentication. If I comment out
> 'AuthType Basic' then anonymous access is available, but when I commit
> repos in TortoiseSVN it completes with this error:
> "post-commit hook failed (exit code 1) with output:
> svn: warning: Can't open file '/etc/subversion/servers': Permission denied
> Authentication realm: 10830e04-d36d-4252-bd61-a1eee9982873
> Username: svn: Can't read stdin: End of file found"
>
> Please can you tell me where I'm going wrong and how to fix this issue?

Why are you creating unix user accounts in the first place?

Regarding your error, check if the account user that httpd is running as
has permission to read the /etc/subversion/servers file.

-- Brane
Received on 2015-04-01 10:22:58 CEST

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.