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

svn+ssh auth problem in a custom svn_client-based app

From: Laurent Sansonetti <laurent.sansonetti_at_gmail.com>
Date: 2006-03-08 23:38:40 CET

Hi devs,

I am writing a C-based application that should access a subversion
repository through svn+ssh, and I am facing authentication issues.

My program uses libsvn_client, calls all svn_xx_initialize functions
at startup and creates an auth_baton with all providers declared in
svn_client.h (especially ssl ones).

When trying to reach the repository (through svn_client_ls()) I always
get the following output on the console:

Permission denied, please try again.
Received disconnect from xxx: 2: Too many authentication failures for sansonet

Then I got a "Connection closed unexpectedly" svn_error_t. No
authentication prompt callback called during the process.

When trying to reach an Apache-based repository it works, I got an
authentication prompt called, then I am able to list the remote
directory contents.

My question is: is there some necessary magic to add in my app in
order to access svn+ssh repositories? I did read the svn command line
code and tried to mimic the behavior, without success.

My app is builded on MacOS X 10.4.x with Subversion 1.3.0. I can see
from 'otool -L' that it is linked to libssl.

Thanks in advance,
Laurent

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 8 23:39:02 2006

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

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