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

Re: VisualSVN server / Linux client

From: Pavel Lyalyakin <pavel.lyalyakin_at_visualsvn.com>
Date: Wed, 23 Mar 2016 13:35:26 +0300

Hello,

On Wed, Mar 23, 2016 at 1:25 AM, Cathy Mullican <cmullican_at_gmail.com> wrote:
> I'm trying to get a Linux svn client to work with a VisualSVN server that
> has Basic authentication disabled. I've set up Kerberos on the Linux box; I
> can get a ticket via kinit, join the domain, and I see service tickets for
> cifs and ldap in klist after joining, so I _think_ that part is OK, although
> it's definitely not my area of expertise.
>
> But I'm missing something, because svn gives "Error running context: The
> requested authentication type(s) are not supported" when I try anything.
>
> Ubuntu 14.04, rebuilt serf with the patch from this ticket:
> https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/1303167 and
> rebuilt svn, but no change.
>
> Any ideas?

First of all, use the latest Subversion 1.9.x client. If the server
has Integrated Windows Authentication enabled and the Linux machine is
joined the AD domain, then the authentication over NTLM\Negotiate
should work out of the box without applying any patches to the client.

Make sure that this Subversion client has Negotiate auth enabled.
Check "servers" file in ".subversion" directory in the user's home
directory on the Linux machine. It should not have "http-auth-types"
parameter modified. In your case there is a chance that that the
parameter was modified. If it was modified, just comment the line with
dash sign "#" to return it to defaults and save the file.

You can also try the following command-line:
[[[
svn info <URL-TO-REPOSITORY>
--config-option=servers:global:http-auth-types=Negotiate
]]]

On Wed, Mar 23, 2016 at 11:04 AM, Andreas Stieger
<Andreas.Stieger_at_gmx.de> wrote:
>
>> "Error running context: The requested authentication type(s) are not supported" when I try anything.
>
> This binary server distribution does not support Kerberos in this configuration. You will need to use Integrated Windows Authentication feature available in the paid version.

As far as I can guess, the server has Integrated Windows
Authentication enabled and Basic disabled. In such case, it's the
client that does not support NTLM/Negotaite (NTLM or Kerberos), not
the server. It seems that the client supports or is configured to use
Basic authentication only.

--
With best regards,
Pavel Lyalyakin
VisualSVN Team
Received on 2016-03-23 11:36:13 CET

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

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