> I have a problem with svnserve : > > I want to configure it for allowing anonymous users to read it, but > this > don't work : > if I checkout (using TortoiseSVN), I am always asked to supply my > password. > > If I do it, the checkout works fine. > > Otherwise I cannot checkout. > > And if I click "OK" (in the TortoiseSVN authentication dialog) > without > giving any authentication (leaving all fields empty), I get the > following > message : > > SASL(-1): generic failure: Unable to find a callback: 2 > > svnserve (from Subversion 1.6.12) runs on a Linux server with > Debian lenny > 5.0 (64 bit edition). > > The "svnserve.conf" file for that repository contains the following > : > ------------------------------------------------------------------- > ----------------------------- > [general] > anon-access = read > auth-access = write > realm = Référentiel Pouchin TV Mod > > [sasl] > use-sasl = true > min-encryption = 128 > max-encryption = 256 > ------------------------------------------------------------------- > ----------------------------- > > For SASL, I have also a "svn.conf" file in the "/etc/" directory, > containing > the > following : > ------------------------------------------------------------------- > ----------------------------- > pwcheck_method: auxprop > auxprop_plugin: sasldb > sasldb_path: /var/lib/svn/sasldb > mech_list: DIGEST-MD5 > ------------------------------------------------------------------- > ----------------------------- > > Note that there is also an Apache access, running concurrently, > which works > fine for anonymous reading. But I also want this anonymous access > on > svnserve. > > svnserve is configured for logging all accesses, but the log > doesn't record > anything during theses failing anonymous accesses. > > svnserve is launched through the "inetd.conf" file, and the > corresponding > line is : > > svn stream tcp nowait > www-data > /usr/bin/svnserve svnserve -i --log-file /var/log/svnserve.log > -r > /var/lib/svn > > I don't understand why it doesn't work. > > Isn't it enough to set "anon-access = read" for allowing anonymous > reading > access ?
Are you using path based authorization too? BOb