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

using saslauthd for user authendication

From: Sebastian Kotthoff <sebastian.kotthoff_at_rz.uni-mannheim.de>
Date: Wed, 12 May 2010 18:01:00 +0200

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!

Regards

Sebastian

-- 
Sebastian Kotthoff
Rechenzentrum
Universität Mannheim
B6, 23-29; Building B; Room 1.16
68159 Mannheim
Tel: +49 621 181 2516
Fax: +49 621 181 2682 
Received on 2010-05-12 18:02:57 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.