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

Re: Single Sign On with mod_dav, SSPI and SVN Authentication API

From: Vagmi Mudumbai <vagmi.mudumbai_at_gmail.com>
Date: 2006-11-21 10:41:49 CET

Finally figured it out. You need both the simple prompt provider and the
username provider. The simple prompt provider, caches it the first time and
then the username provider gets it the next time on. The Windows provider
will be a thoughtful addition as it would cache the password in an encrypted
form.

<basking_in_the_sweet_sense_of_revelation/> :-)

On 11/21/06, Vagmi Mudumbai <vagmi.mudumbai@gmail.com> wrote:
>
> Hi,
>
> I am somehow not able to get it to work yet. Which authentication provider
> should I use? I am using the libneon.lib shipped with the
> svn-win32-1.4.2-dev zip file. The Apache access log shows no username as a
> part of the PROPFIND command and hence fails.
>
> Regards,
> Vagmi
>
> On 11/19/06, Vagmi Mudumbai <vagmi.mudumbai@gmail.com> wrote:
> >
> >
> >
> > On 11/18/06, D.J. Heap < djheap@gmail.com> wrote:
> > >
> > > On 11/18/06, Vagmi Mudumbai <vagmi.mudumbai@gmail.com> wrote:
> > > > Hi,
> > > >
> > > > I have a repository setup with Apache and mod_dav_svn and
> > > mod_auth_sspi. I
> > > > have the authz fiel setup properly. I am able to work on the
> > > repository with
> > > > the command line client without me having to enter my username and
> > > password.
> > > > I am trying to achieve the same with the Subversion API. However, I
> > > am
> > > > unable to figure out the authentication provider that I should be
> > > using. It
> > > > works when i use the simple prompt provider and provide my domain
> > > username
> > > > and password. However, when I use the windows simple provider, it
> > > does not
> > > > work. Am I using the correct authentication provider. If not which
> > > one
> > > > should I use. Code sample in any language would work. I am currently
> > > using
> > > > AnkhSVN's .NET binding with Subversion 1.4 libraries.
> > > [snip]
> > >
> > >
> > > Single sign-on auth for http is all handled by neon automatically --
> > > Subversion does not even get a chance to be involved. You need to use
> > > a recent version of neon (0.25.5+) and make sure HAVE_SSPI is defined
> > > in the config.h. It sounds like AnkhSVN may not be built that way or
> > > is using an old neon.
> >
> >
> >
> > Thanks a lot. I will give this a spin and let you all know. :-)
> >
> > DJ
> > >
> >
> >
> >
> > --
> > http://geekswithblogs.net/vagmi.mudumbai
> > http://installneo.blogspot.com
> >
> > "Peace is its own reward." - Mahatma Gandhi
> >
>
>
>
> --
> http://geekswithblogs.net/vagmi.mudumbai
> http://installneo.blogspot.com
>
> "Peace is its own reward." - Mahatma Gandhi
>

-- 
http://geekswithblogs.net/vagmi.mudumbai
http://installneo.blogspot.com
"Peace is its own reward." - Mahatma Gandhi
Received on Tue Nov 21 10:42:12 2006

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