Failed to initialize SASL library

Following the tutorial here , I installed Subversion 1.5.6 (Setup-Subversion-1.5.6.msi here ) on Windows Server 2003 Service Pack 2 (SP2). I managed to create a repository (C: \ SVN \ Repository) using the command line, no problem. And I can configure it as a service, but when I try to start the service, it does not start. I decided that I would try to start svnserve manually without the --service argument, but these are errors. I'm trying to:

svnserve -rc: \ svn \ repository

... and I get the error:

svn: Failed to initialize SASL library
svn: general failure

Other information that may be relevant: I edited the svnserve.conf file, uncommenting the anonymous access and authorization access strings:

anon-access = none
auth-access = write

I also uncommented the password-db line:

password-db = passwd

I registered in the field using Remote Desktop, and I am registered as an administrator on the server. Any ideas?

0
source share
2 answers

1) SASL / svnserve configuration is not always a simple step and is described in detail here . Here is a summary:

  • Remember to check the following registry key, which should point to your configuration file:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Carnegie Mellon\Project Cyrus\SASL Library]
    "ConfFile"="c:\\svn\\etc\\conf"

  • The directory C: \ svn \ etc \ conf should contain a file svn.conf(or subversion.confshould also work), which contains, for example:

    pwcheck_method: auxprop
    auxprop_plugin: sasldb
    sasldb_path: c:\svn\etc\conf\saslpasswd
    mech_list: ANONYMOUS DIGEST-MD5

  • , saslpasswd , , <domain> . saslpasswd2.exe .

  • conf svnserve.conf ( <domain>):

    [general]
    authz-db = //./C:/svn/etc/conf/authz
    realm = <domain>
    [sasl]
    use-sasl = true

2) SASL 1.5, , Apache. Collabnet.

: http://www.open.collab.net/downloads/subversion/ : http://www.open.collab.net/downloads/subversion/svn1.5.html, , . , Apache svnserve.

+2

, , Subversion . Subversion Windows VisualSVN Server, ( ) .

0

Source: https://habr.com/ru/post/1723540/


All Articles