• Home »
  • »
  • Could Not Obtain the List of SASL Mechanisms

Could Not Obtain the List of SASL Mechanisms

During initial installation of a subversion repository server you may run into issues with authentication methods. This issue is probably related to not having a package installed that needs to be for your authentication to function properly.

Error Received in TortoiseSVN: Could not obtain a list of SASL mechanisms

Could Not Obtain a List of SASL Mechanisms

Also note the /etc/sasl2/svn.conf file and the repo/conf/svnserve.conf configuration files to get a clear picture of the SVN repository configuration.



  1. pwcheck_method: auxprop
  2. auxprop_plugin: sasldb
  3. sasldb_path: /var/www/sasldb
  4. mech_list: DIGEST-MD5



  1. [general]
  2. anon-access = none
  3. auth-access = write
  4. realm = doc-control
  6. [sasl]
  7. use-sasl = true
  8. min-encryption = 128
  9. max-encryption = 256

Notice in the svn.conf configuration file the mech_list option is set to DIGEST-MD5. I noticed that I didn’t have the proper SASL package installed when I started troubleshooting. So I issued the command below to install the cyrus-sasl-md5 package.

Install cyrus-sasl-md5 Via YUM:


  1. yum install cyrus-sasl-md5

Obviously if you don’t already have cyrus-sasl installed then issuing the above command will install that as well. Do not remove authentication if you run into issues because in the long run you will cause yourself more issues than you will by getting this working the incorrect way quickly.

Linux Administration: A Beginner’s Guide, Fifth Edition (Paperback)

List Price: $39.99
New From: $15.93 USD In Stock
Used from: $2.91 USD In Stock