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

Re: using saslauthd for user authendication

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Wed, 12 May 2010 19:26:55 +0200

On Wed, May 12, 2010 at 6:01 PM, Sebastian Kotthoff
<sebastian.kotthoff_at_rz.uni-mannheim.de> wrote:
> Hello,
>
> I have a working LDAP-Server and some svn-repositories on an second server.
> The svnserv uses the "passwd" file at the moment for user authendication.
> Now I like to to use the LDAP instead.
> Because the handbook says, svnserv could be used with sasl to access
> a LDAP-server, I have set up  a "saslauthd" on the svn-server.
> The saslauthd asks the LDAP over SSL if the given user is in a svn-group.
>
> This is working fine so far, I can check this with:
> # sudo /usr/sbin/testsaslauthd -u USERNAME -p PASSWORD
> whitch returns either
> 0: OK "Success." or 0: NO "authentication failed"
>
> Now I have set up a "/usr/lib/sasl2/svn.conf", but I'm not shure,
> what to fill in. The lines from the svnhandbook are redirecting to a
> "/etc/sasldb2", which I have. But I don't want to use a database-file,
> the svnserv should request the localy running saslauthd.
>
> It is possible to do something like that, or are I comlpetely misunderstood
> the svnserver sasl-support?
>
> (A further point is, that "svnserve --version" on ubuntu 8.04 does not return
> something like "sasl", so it seems that I anyway need to compile it my own.)
>
> Thank you in advance very much!

The following recent thread from this mailinglist may help you:
http://svn.haxx.se/users/archive-2010-03/0515.shtml

The discussion eventually resulted in a working setup of svnserve + SASL + LDAP.

Cheers,

-- 
Johan
Received on 2010-05-12 19:27:23 CEST

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.