LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 02-12-2009, 10:58 PM   #1
myhnet
LQ Newbie
 
Registered: Jun 2008
Posts: 11
Thanked: 0
svn+ldap+sasl2 problem under CentOS52


[Log in to get rid of this advertisement]
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 11:00 PM..
myhnet is offline  
Tag This Post , ,
Reply With Quote
Old 06-30-2009, 04:53 PM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,498
Thanked: 44
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.
Hko is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 06:31 AM
CentOS52 VMWare host stops responding on network GoTerpsGo Linux - Server 1 08-09-2008 09:24 AM
SMBLDAP-TOOLS SAMBA LDAP . Problem when filling ldap. jcdole Linux - Server 0 06-08-2008 08:44 PM
svn checkout -bash svn command not found Anauj0101 Linux - Newbie 6 04-20-2008 06:50 PM
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 3 02-12-2008 09:55 PM


All times are GMT -5. The time now is 06:07 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration