LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-03-2011, 05:57 PM   #1
derekmapge
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: Disabled
Issues with sasl auth for svn on CentOS 5.2


Hi All,

I am trying to use sasl auth DIGEST-MD5 rather plain text password file for my svn repository.

The issue I am running into is saslauthd does not think I have the DIGEST-MD5 and CRAM-MD5 mechanisms installed.

If anyone has any suggestions it would be greatly appreciated.

Below are my installed rpm's for cyrus-sasl
and what saslauthd think I have installed for mechanisms.

[root@myhost etc]# yum list installed | grep sasl
cyrus-sasl.x86_64 2.1.22-5.el5_4.3 installed
cyrus-sasl-devel.x86_64 2.1.22-5.el5_4.3 installed
cyrus-sasl-lib.x86_64 2.1.22-5.el5_4.3 installed
cyrus-sasl-md5.x86_64 2.1.22-5.el5_4.3 installed
cyrus-sasl-plain.x86_64 2.1.22-5.el5_4.3 installed

[root@myhost etc]# saslauthd -v
saslauthd 2.1.22
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap
 
Old 08-03-2011, 08:39 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,458

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
centOS 5.2 has been unsupported for a few years now .
upgrade to the current and ONLY supported version in the 5 series
CentOS 5.6
or upgrade to CentOS 6.0
 
Old 08-04-2011, 01:53 PM   #3
derekmapge
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thats for the reply.
I upgraded to CentOS 5.6 and I am still seeing the same issue. Any other thoughts?
 
Old 08-04-2011, 02:02 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,458

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
Quote:
I am trying to use sasl auth DIGEST-MD5 rather plain text password file for my svn repository.
well just HOW are you doing that ?
the FULL steps you are taking

and what svn repo?
how is it set up ?
what software are you using ?
Quote:
The issue I am running into is saslauthd does not think I have the DIGEST-MD5 and CRAM-MD5 mechanisms installed.
WHY do you think that "saslauthd does not think I have the DIGEST-MD5 and CRAM-MD5 mechanisms installed."
is there an error massage some place ?


the full error would help
 
Old 08-05-2011, 08:26 AM   #5
derekmapge
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: Disabled
I don't think saslauthd thinks I have the DIGEST-MD5 mechanism because when I run the following command it does not show it in the list of mechanisms.


[root@myhost etc]# saslauthd -v
saslauthd 2.1.22
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap

Here is how I am setting it up.

Here is the method I am using.
http://svnbook.red-bean.com/en/1.5/s....svnserve.sasl

Here is my svnserve.conf file.

[general]
anon-access = none
auth-access = write
realm = myrealm
[sasl]
use-sasl = true
min-encryption = 128
max-encryption = 256


and here is my /usr/lib64/sasl2/svn.conf file

pwcheck_method: auxprop
auxprop_plugin: sasldb
sasldb_path: /svn/svn_sasldb
mech_list: DIGEST-MD5

$ saslpasswd2 -c -f /etc/my_sasldb -u myrealm username

svnserve version information with sasl support.

[root@myhost ~]# svnserve --version
svnserve, version 1.6.11 (r934486)
compiled Jun 8 2011, 16:22:13

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository back-end (FS) modules are available:

* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.

Cyrus SASL authentication is available.


I am stumped. It will not let me start saslauthd with DIGEST-MD5 mech.

[root@myhost ~]# saslauthd -a DIGEST-MD5
saslauthd[8261] :set_auth_mech : unknown authentication mechanism: DIGEST-MD5

Am I missing something here?
 
Old 08-05-2011, 02:46 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,458

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
you are aware that those are mostly Microsoft Windows XP instructions


and that there is a svn server in the cent /RHEL repos
"yum search svn" will find it


in the bit you posted above the ONE missing thing i do not see is ANY reference to SELinux

you MUST have set some context on it
and you MUST have wrote some authentication rule for this
and there should be some "SELinuxTroubleShooter" warning or error message
( a gold star in the upper right of the gnome desktop )


this is for an older cent but mostly will be good
http://wiki.centos.org/HowTos/Subversion
mostly the same
http://www.if-not-true-then-false.co...-red-hat-rhel/

a pdf "Howto_istall_SVN_CentOS.pdf" from Stanford Univ.
http://micro.stanford.edu/mediawiki/...SVN_CentOS.pdf
 
Old 09-09-2011, 12:58 PM   #7
derekmapge
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
you are aware that those are mostly Microsoft Windows XP instructions


and that there is a svn server in the cent /RHEL repos
"yum search svn" will find it


in the bit you posted above the ONE missing thing i do not see is ANY reference to SELinux

you MUST have set some context on it
and you MUST have wrote some authentication rule for this
and there should be some "SELinuxTroubleShooter" warning or error message
( a gold star in the upper right of the gnome desktop )


this is for an older cent but mostly will be good
http://wiki.centos.org/HowTos/Subversion
mostly the same
http://www.if-not-true-then-false.co...-red-hat-rhel/

a pdf "Howto_istall_SVN_CentOS.pdf" from Stanford Univ.
http://micro.stanford.edu/mediawiki/...SVN_CentOS.pdf
These are instructions for UNIX/LINUX/and Cygwin on Windows; svn config files are svn config files I am using them as examples.

Also, I am aware that there is an svn server in the repos for centOS/RHEL as you can see from my very first post that I have installed these packages but I am having an issue with my installation (only with the mechanisms). And I have SElinux disabled. I am trying to use straight SASL2.

Last edited by derekmapge; 09-09-2011 at 01:14 PM.
 
  


Reply


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
Postfix SASL auth not working Mr. A Debian 3 03-11-2010 09:59 AM
Postfix sasl auth problem fandar Linux - Server 1 01-02-2010 09:39 AM
SVN compile issues - centos 5 64bit neocontrol Linux - Server 1 11-06-2007 12:07 PM
Sasl auth probleme freelinuxcpp Debian 0 06-28-2004 10:10 AM
SASL-AUTH Postfix Mandrake 9.1 jsnow50 Linux - Software 0 09-29-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration