LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2008, 05:29 PM   #1
juliyana
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
help with sasl and ldap


Hello,

I am trying to make my SASL /with open ldap work. I can query with ldapsearch and resolve the username and password.
I am trying to bypass pam in the middle. But somehow if I do not define -s option while running testsaslauthd it uses imap.
Here is the output of testsaslauthd
testsaslauthd -u test1 -p welcome
0: NO "authentication failed"

/var/log/messages

Aug 18 14:32:33 vernal saslauthd[19899]: do_auth : auth failure: [user=test1] [service=imap] [realm=] [mech=ldap] [reason=Unknown]


Here are my conf files.
#/etc/saslauthd.conf
ldap_servers: ldap://testme.sfsu.edu:389/
ldap_bind_dn: uid=test1,cn=users,o=sfsu.edu
ldap_bind_pw=welcome
ldap_base: o=sfsu.edu
ldap_auth_method: bind
#ldap_filter: mail=%U,o=sfsu.edu

#/etc/sysconfig/saslauthd
SOCKETDIR=/var/run/saslauthd
MECH=ldap

When I grep sasl, I see it running as
/usr/sbin/saslauthd -m /var/run/saslauthd -O /etc/saslauthd.conf -a ldap
root 19900 19899 0 14:14 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -O /etc/saslauthd.conf -a ldap

Any help will be greatly apprecaited.

Juliyana
 
Old 08-19-2008, 02:50 PM   #3
juliyana
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
help with sasl and ldap

No. I am trying to bypass pam in the middle.

 
Old 08-19-2008, 03:11 PM   #4
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
oops...sorry...how about this?

http://osdir.com/ml/isp.ispman.user/.../msg00011.html

http://kroupware.kolab.org/technical...html/c345.html

http://englanders.us/~jason/howtos.php?howto=cyrus-sasl

Last edited by ehawk; 08-19-2008 at 03:16 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
LDAP: not compiled with SASL support G00fy Programming 0 12-26-2007 01:33 AM
ldap and sasl arunachalam Linux - General 0 07-24-2006 07:37 AM
LDAP , SASL and Invalid REALM mesh2005 Linux - Networking 0 12-14-2005 07:29 AM
ldap SASL GSSAPI , unknown authorization mechanism mesh2005 Linux - Networking 0 11-20-2005 08:16 AM
FC3 + LDAP + SASL + KRB5 hard?!? rhoekstra Fedora 0 12-17-2004 09:19 AM


All times are GMT -5. The time now is 09:04 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