LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-23-2010, 11:57 PM   #1
pswen
LQ Newbie
 
Registered: Dec 2008
Posts: 27

Rep: Reputation: 0
sasl testsaslauthd


I installed cyrus-sasl 2.1

[root@mail ldap]# rpm -q cyrus-sasl
cyrus-sasl-2.1.22-5.el5_4.3

used testsaslauthd command , Error:
[root@mail ldap]# testsaslauthd -u root -p 123456
connect() : No such file or directory


how to deal with?
 
Old 07-24-2010, 07:39 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
First make sure that the sasl authentication daemon is running. For example in my case, I am using dovecot rather than Cyrus. If I run ps -aux | grep auth, I get the following: nobody 2334 0.0 0.1 72708 3256 ? S Jul16 0:00 dovecot-auth as well as another process.

If the process is running, try a netstat, grep'ing for the same term and see if it is listening on an sockets. It most likely will connect on a unix stream socket for interprocess communication.

You most likely have a configuration error. Knowing whether or not the processes are starting will give you a clue as to where the error may be and how sever it is. Look in your syslog, mail server log, and your cyrus log, and daemon log for any signs of trouble.
 
1 members found this post helpful.
Old 03-20-2017, 10:11 AM   #3
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 367
Blog Entries: 1

Rep: Reputation: 48
specify socket manually

You can specify the socket manually. Here's what works for me :

Code:
root@messagerie-secours[CHROOT][10.10.10.19] ~/SCRIPTS/MAIL # testsaslauthd -u ychaouche -r mydomain.tld  -f /var/run/saslauthd/mux -s smtp -p 123456
0: OK "Success."
root@messagerie-secours[CHROOT][10.10.10.19] ~/SCRIPTS/MAIL #
 
Old 03-20-2017, 12:10 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Hi ychaouche,

Welcome to LQ. Your post was held for moderation because of a few things. It was your very first post, also it was to a technical forum versus the introductions forum (no problem), and finally it was to a thread which is 7 years old.

Since the solution appears to be a viable one, and since the OP for this thread still shows activity on LQ during the current year, I've chosen to approve the post. Moving forwards, your posts will likely not be held for any moderation. However, please be aware of the age of threads and waking them up after many, many years of inactivity may not always be the right choice. This thread was not marked as Solved, and once again, your post may be helpful for someone even if the OP is not longer interested in this question.
 
Old 02-26-2019, 08:59 AM   #5
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 367
Blog Entries: 1

Rep: Reputation: 48
Wisdom Of The Ancients™

It's because me too have stumbled upon forum posts where people had the same problem than I, and didn't report back the solution. In fact, this is not very uncommon and an XKCD comic has been made about it, which I believe is now well known : https://xkcd.com/979/
 
  


Reply



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/MySQL "SASL LOGIN authentication failed" Temujin_12 Linux - Server 8 10-04-2008 10:37 PM
Postfix and SASL linux2man Linux - Server 2 04-15-2008 02:00 AM
Sasl cecilcosta Linux - Networking 3 07-29-2004 04:39 PM
help with SASL pembo13 Linux - Networking 0 02-05-2004 09:53 PM
Help me please: SASL pembo13 Linux - Networking 3 09-03-2003 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:51 AM.

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
Open Source Consulting | Domain Registration