LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with sasl and ldap (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-sasl-and-ldap-663693/)

juliyana 08-18-2008 05:29 PM

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

ehawk 08-18-2008 06:56 PM

Do these links help?

http://www.felipe-alfaro.org/blog/20...testsaslauthd/

http://osdir.com/ml/security.cyrus.s.../msg00050.html

http://www.irbs.net/internet/cyrus-sasl/0703/0015.html

http://ubuntuforums.org/showthread.php?t=309472

juliyana 08-19-2008 02:50 PM

help with sasl and ldap
 
No. I am trying to bypass pam in the middle.


ehawk 08-19-2008 03:11 PM

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


All times are GMT -5. The time now is 04:49 AM.