subversion - allow client operations through all protocols

226 Views Asked by At

Trying to correctly setup subversion server in order to allow clients to access repos using all available protocols:

  • file://
  • http://
  • https://
  • svn://
  • svn+ssh://

first 3 mentioned above works correctly. I'm having some issue making coexist the last two. Earlier svn+ssh:// was working fine, normal ssh authentication. Then I've received a request to secure svn:// protocol to use SASL encryption, in case some developer want to go through it. I have implemented it, data traffic is encrypted now, but it looks like the 2 authentication methods have conflicts, because now svn:// works fine, user get asked to auth with their sasl users. But svn+ssh don't work well anymore. SSH authentication ask for the unix user authentication at the beginning, user fill it, then he get prompted with a sasl user auth, for 3 times consequently -> total: 4 authentications, result seems to fail auth also if client input correctly user and password all the times.

my configuration in $svnrepo/conf/svnserve.conf looks like this :

[general]
realm = svnserve-auth

[sasl]
use-sasl = true
min-encryption = 128
max-encryption = 256

Somebody have alredy faced this issue, or see better than me what I'm doing wrong? Thank you in advance for every hint, if im missing info please let me know

0

There are 0 best solutions below