You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Steve Dwire <sd...@pcsigroup.com> on 2003/10/23 20:10:59 UTC

Svn fails authentication without asking for credentials

I've looked in the FAQ and the mailing list archives, but I can't seem
to figure out what to do about this...

I'm using the latest Windows-installer version of Subversion (0.30.0
r7178) on both client and server.

I'm connecting via http: to an Apache server. We just switched from
anonymous access to SSPI authentication. If I connect to the repository
using Internet Explorer, it prompts me for my username and password, and
then I can successfully connect and browse using http://. So, it appears
that the server side is correctly set up.

Whenever I run any svn command against the repository, though, I simply
get an "Authorization failed" error. I do not get any prompt for
username/password.  If I add the --username DOMAIN\username
--password=****** arguments to the command line, it makes no difference.
When using TortoiseSVN, I get an immediate authorization failure as
well.

I've looked in C:\Documents and Settings\username\Application
Data\Subversion\auth for the cached credentials bug discussed earlier in
dev. I see three directories: svn.simple, svn.ssl.server, and
svn.username. All three are empty, so there's no credential cache file
to delete.

I've restarted my client machine (didn't know what else to try...) and
subversion just refuses to ask me for my credentials.

Any idea what I've missed?

S_E_D

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Svn fails authentication without asking for credentials

Posted by Ben Collins-Sussman <su...@collab.net>.
"Steve Dwire" <sd...@pcsigroup.com> writes:

> I'm connecting via http: to an Apache server. We just switched from
> anonymous access to SSPI authentication. If I connect to the repository
> using Internet Explorer, it prompts me for my username and password, and
> then I can successfully connect and browse using http://. So, it appears
> that the server side is correctly set up.
> 
> Whenever I run any svn command against the repository, though, I simply
> get an "Authorization failed" error. I do not get any prompt for
> username/password.  If I add the --username DOMAIN\username
> --password=****** arguments to the command line, it makes no difference.
> When using TortoiseSVN, I get an immediate authorization failure as
> well.

I honestly have no idea what SSPI authentication is.  Is it
fundamentally different than an HTTP Basic Auth challenge?

This might just be a limitation in neon, which is the HTTP client
library that the svn client uses.  I know that neon understands Basic
Auth challenges, and can handle client/server certificate challenges,
but maybe not SSPI?

Someone correct me, please.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org