Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
help with sasl and ldap


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"


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.
ldap_servers: ldap://
ldap_bind_dn: uid=test1,cn=users,
ldap_auth_method: bind
#ldap_filter: mail=%U,


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.

Old 08-19-2008, 03:50 PM   #3
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, 04:11 PM   #4
Senior Member
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48 about this?

Last edited by ehawk; 08-19-2008 at 04:16 PM.


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 02:33 AM
ldap and sasl arunachalam Linux - General 0 07-24-2006 08:37 AM
LDAP , SASL and Invalid REALM mesh2005 Linux - Networking 0 12-14-2005 08:29 AM
ldap SASL GSSAPI , unknown authorization mechanism mesh2005 Linux - Networking 0 11-20-2005 09:16 AM
FC3 + LDAP + SASL + KRB5 hard?!? rhoekstra Fedora 0 12-17-2004 10:19 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 PM.

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