You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Aaron Williams <Aa...@cavium.com> on 2012/01/12 04:47:13 UTC

After upgrading subversion refuses to authenticate with server

Hi all,

I recently upgraded OpenSUSE from 11.4 to 12.1 and now I am no longer able to 
commit changes to our subversion tree.

It requires authentication and the username is different than my Linux account 
name.

OpenSUSE 12.1 includes Subversion 1.6.17 though I have also compiled 1.7.2 
with debugging information enabled to try as well.

With a fresh checkout from our repository with a minor change in one of the 
files I get the following when I attempt to check in:

% svn commit --no-auth-cache  --username awilliams --password xxxxx  -m "Made 
text area so it can be overridden" include/configs/octeon_common.h
subversion/svn/commit-cmd.c:181: (apr_err=170001)
subversion/libsvn_client/commit.c:851: (apr_err=170001)
subversion/libsvn_client/commit.c:851: (apr_err=170001)
svn: E170001: Commit failed (details follow):
subversion/libsvn_ra_svn/client.c:994: (apr_err=170001)
subversion/libsvn_ra_svn/client.c:994: (apr_err=170001)
subversion/libsvn_ra_svn/client.c:244: (apr_err=170001)
subversion/svnserve/serve.c:444: (apr_err=170001)
svn: E170001: Authorization failed


% svn info
Path: .
Working Copy Root Path: /home/aaronw/projects/tot/sdk
URL: svn://xxxx/svn/xxxxxxx/sdk-base/trunk/xxx/xxxxx/xxxxxx
Repository Root: svn://xxxx/svn/xxxxxx
Repository UUID: c83883e8-9f28-0410-baf1-f2025811e16a
Revision: 68777
Node Kind: directory
Schedule: normal
Last Changed Author: xxxxxx
Last Changed Rev: 68774
Last Changed Date: 2012-01-06 18:10:54 -0800 (Fri, 06 Jan 2012)

I am not sure what version of Subversion is running on the server since I do 
not maintain it. OpenSUSE 11.4 also used Subversion 1.6.17 as well so I do not 
know what changed there.

-Aaron

-- 
Aaron Williams <Aa...@cavium.com>
 (408) 943-7198


Re: After upgrading subversion refuses to authenticate with server

Posted by Stephen Butler <sb...@elego.de>.
On Jan 12, 2012, at 4:47 , Aaron Williams wrote:

> Hi all,
> 
> I recently upgraded OpenSUSE from 11.4 to 12.1 and now I am no longer able to 
> commit changes to our subversion tree.
> 
> It requires authentication and the username is different than my Linux account 
> name.
> 
> OpenSUSE 12.1 includes Subversion 1.6.17 though I have also compiled 1.7.2 
> with debugging information enabled to try as well.
> 
> With a fresh checkout from our repository with a minor change in one of the 
> files I get the following when I attempt to check in:
> 
> % svn commit --no-auth-cache  --username awilliams --password xxxxx  -m "Made 
> text area so it can be overridden" include/configs/octeon_common.h
> subversion/svn/commit-cmd.c:181: (apr_err=170001)
> subversion/libsvn_client/commit.c:851: (apr_err=170001)
> subversion/libsvn_client/commit.c:851: (apr_err=170001)
> svn: E170001: Commit failed (details follow):
> subversion/libsvn_ra_svn/client.c:994: (apr_err=170001)
> subversion/libsvn_ra_svn/client.c:994: (apr_err=170001)
> subversion/libsvn_ra_svn/client.c:244: (apr_err=170001)
> subversion/svnserve/serve.c:444: (apr_err=170001)
> svn: E170001: Authorization failed
> 

What does the server log say?  For security reasons, the client doesn't
receive detailed information in this case.

Someone might need to configure svnserve to run with the '--log-file' option.

Is SASL authentication in use?

Steve

> 
> % svn info
> Path: .
> Working Copy Root Path: /home/aaronw/projects/tot/sdk
> URL: svn://xxxx/svn/xxxxxxx/sdk-base/trunk/xxx/xxxxx/xxxxxx
> Repository Root: svn://xxxx/svn/xxxxxx
> Repository UUID: c83883e8-9f28-0410-baf1-f2025811e16a
> Revision: 68777
> Node Kind: directory
> Schedule: normal
> Last Changed Author: xxxxxx
> Last Changed Rev: 68774
> Last Changed Date: 2012-01-06 18:10:54 -0800 (Fri, 06 Jan 2012)
> 
> I am not sure what version of Subversion is running on the server since I do 
> not maintain it. OpenSUSE 11.4 also used Subversion 1.6.17 as well so I do not 
> know what changed there.
> 
> -Aaron
> 
> -- 
> Aaron Williams <Aa...@cavium.com>
> (408) 943-7198
>