LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-12-2009, 09:58 PM   #1
myhnet
LQ Newbie
 
Registered: Jun 2008
Posts: 15

Rep: Reputation: 0
svn+ldap+sasl2 problem under CentOS52


OS: centos52 with SElinux disabled

/etc/sasl2/svn.conf
Code:
pwcheck_method: saslauthd
auxprop_plugin: ldap
mech_list:PLAIN LOGIN
#ANONYMOUS CRAM-MD5
ldapdb_uri: ldap://127.0.0.1/
ldapdb_mech: PLAIN LOGIN

/etc/saslauthd.conf
Code:
ldap_servers: ldap://127.0.0.1/
ldap_timeout: 10
ldap_timelimit: 10
ldap_restart: yes
ldap_scope: sub
ldap_search_base: ou=people,dc=test,dc=com
ldap_auth_method: bind
ldap_bind_dn: cn=Manager,dc=test,dc=com
ldap_password: 111111
ldap_filter:uid=%u
ldap_debug: 128
ldap_verbose: 1
/usr/lib/sasl2/svn.conf is a soft link to /etc/sasl2/svn.conf

I can't login svn server, and find this error in /var/log/message in the server side:
Code:
svnserve: unable to open Berkeley db /etc/sasldb2: No such file or directory
but nothing in ldap log


PS:
ldap + sasl2 should be correct, cause I get this:
Code:
testsaslauthd -u user -p password
0: OK "Success."
if I create /etc/sasldb2 with saslpasswd* svn will work.

anyone can help me?

Last edited by myhnet; 02-12-2009 at 10:00 PM.
 
Old 06-30-2009, 03:53 PM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
For svnserve to support authentication through saslauthd, it must allow plaintext passwords to be used (also in other than saslauthd configurations). The authors of svnserve deliberately chose to disable plain text password authentication. This also inhibits the use of saslauthd.

There is probably a way to do ldap+svnserve (without apache) using SASL's ldapdb auxprop plugin or maybe using PAM. I've yet to try and find out more about this myself. SASL's ldapdb auxprop does offer much less options though.
 
  


Reply

Tags
ldap, sasl2, svn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 05:58 PM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 05:31 AM
CentOS52 VMWare host stops responding on network GoTerpsGo Linux - Server 1 08-09-2008 08:24 AM
SMBLDAP-TOOLS SAMBA LDAP . Problem when filling ldap. jcdole Linux - Server 0 06-07-2008 11:41 AM
svn checkout -bash svn command not found Anauj0101 Linux - Newbie 6 04-20-2008 05:50 PM


All times are GMT -5. The time now is 08:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration