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

SVN LDAP authentication with SASL

From: james donovan <james13d_at_yahoo.com>
Date: Tue, 20 May 2008 12:08:27 -0700 (PDT)



We would like to use ldap user authentication for SVN.  We have upgraded to SVN 1.5 RC5 that supports sasl and I'm using RedHat 5. I'm sure that we have sasl configured to talk to ldap correctly and we have ldap configured correctly by the success of the two command:


 [root@cobra sasl2]#  testsaslauthd -u hbl313 -p joe
 0: OK "Success."

 root@cobra sasl2]#  ldapsearch -x -h uid=hbl313
 # extended LDIF
 # LDAPv3
 # base <> with scope subtree
 # filter: uid=hbl313
 # requesting: ALL

 # hbl313, people, hou, lgc.com
 dn: uid=hbl313,ou=people,o=hou,dc=lgc,dc=com
 gidNumber: 333
 cn: hbl313
 uidNumber: 2126
 gecos: Joe Person


I've added a svn.conf file:


 [root@cobra sasl2]# more /opt/CollabNet_Subversion/lib/sasl2/svn.conf
 pwcheck_method: saslauthd
 auxprop_plugin: ldap



When I try to connect to the svn repository I get an error:


 % /opt/CollabNet_Subversion/bin/svn co svn://cobra/d01/repos15/test
 Username: hbl313
 Password for 'hbl3135':
 svn: Authentication error from server: SASL(-13): user not found: no OTP secret in database


Doing a trace on svnserve, it's looking for a local database /etc/sasldb2 and not connecting to ldap.


Any help configuring svn to use sasl / ldap would be appreciated.

--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on 2008-05-20 21:08:50 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.