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

What auth providers to use for NTLM authentication?

From: Koert van der Veer <kvdveer_at_playlogicgames.com>
Date: Fri, 19 Jun 2009 10:39:39 +0200

I'm trying to make an unattended tool that needs to access subversion.
This client will connect to an apache server which provides the ntlm
authentication method, but it also offers basic authentication.
I really don't want my client to ask for a password, as I don't have a
reasonable way to ask the user for one.

I'm using win32 1.6.2 dev libraries provided on tigris.

My provider setup is as follows:

        apr_array_header_t* providers =

        svn_auth_provider_object_t * provider;
        *(svn_auth_provider_object_t**)apr_array_push(providers) =

        *(svn_auth_provider_object_t**)apr_array_push(providers) =

        svn_auth_open( &(context->auth_baton), providers, RootPool);
        svn_auth_set_parameter( context->auth_baton,

Unfortunately, when accessing the repository, an error is returned with
the message:

OPTIONS of ' http://hostname/svn': authorization failed: Could not
authenticate to server: ignored NTLM challenge, rejected Basic challenge

I'm guessing I've set up the providers wrongly, but I can't seem to
figure out how to tell neon not to ignore the NTLM challenge. Any clues?


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-19 10:58:28 CEST

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