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

Re: [TSVN] Unable to commit using today's nightly

From: Michael Dietschi <groups_at_dietschi.net>
Date: 2005-10-12 14:41:15 CEST

On Tue, 11 Oct 2005 20:00:09 +0200, Norbert Unterberg <nunterberg@gmail.com> wrote:

> 2005/10/11, Stefan Küng <tortoisesvn@gmail.com>:
>
>> When I tried it in our office, it worked out-of-the-box. Meaning I could
>> clear the auth cache and didn't have to provide username/password.
>
> I guess it depends on the apache config. What are your SSPI auth
> options in the apache's subversion config section?
>
>> The error message "cannot generate context" could mean that your server
>> doesn't have access to the domain controller? Or your workstation isn't
>> part of the domain?
>
> Yes it is. And the server has access to the domain controller. It
> works fine when browing with firefox, it works with the older clients,
> so why should the domain server access depend on the client being
> used?

I had the same troubles on our installation and could make it work again when I enabled my (custom) setting 'SSPILowerUserName' - but don't ask me *why* this seems to work!

When I set up our Subversion/Trac server I patched mod_auth_sspi to provide an option to always lowercase the username but forgot to enable it for the Subversion part - only for Trac. After trying a nightly build (built against Subversion 1.3 I've come across this issue.

I could provide you this patched mod_auth_sspi or you maybe want to try this 'unified mod_auth_sspi' referred at http://www.subversionary.org/sspidomainauth#comment-14

My config:

        # Subversion
        <Location /svn>
          DAV svn
          SVNParentPath D:/data/svn/repos
          #SVNAutoversioning on
          AuthType SSPI
          AuthName "Subversion Repository Authentication"
          Require valid-user
          AuthzSVNAccessFile conf/svnaccess.conf
          SSPIAuth On
          SSPIAuthoritative On
          SSPIDomain MI
          SSPIOfferBasic On
          #SSPIBasicPreferred On
          SSPIOmitDomain On
          SSPILowerUserName On
          SSLRequireSSL
        </Location>

Best Regards
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Oct 12 14:41:41 2005

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

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