LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-20-2005, 10:44 PM   #1
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
cyrus denies login and reports "no mechanism available" in logs


Pardon me if this is an easy fix. Mail is the one thing in linux (from a server stand point) that has me more frustrated than ever.

I have Cyrus 2.2.3 and Postfix 2.1.1 installed. The current problem I have is actually with Cyrus and authentication.

My setup requires virtual domains, but I don't want to authenticate to system users - I'm going for simplicity. So, after googling around, I decided the 'sasldb' was the route to go. In my imapd.conf, I changed 'sasl_pwcheck_method' from 'saslauthd' to 'sasldb'. This doesn't work: the log (/var/log/messages) indicates that there is "no mechanism available" and the login fails.

I can get the authentication to work if I set 'sasl_pwcheck_method' to 'saslauthd' which uses pam by default, and set pam to authenticate imap via unix/console logins. That, however, won't work for our setup. I can't have console users for every email account.

I have a 'sasldb2' file in the /etc directory. I can use the 'saslpasswd2' command to add users. I can also use the 'sasldblistusers2' command, and the users show up properly. Unfortunately, cyrus isn't looking at this file. I even tried setting 'sasl_pw_check_method' to 'sasldb2' but same results as before: "no mechanism available."

I did try sending logins through saslauthd, and set pam to use pam_mysql. Well, that doesn't work because this distro doesn't include pam_mysql, and I don't dare mess too much with pam... I really don't want to mess the system up!

If I type 'saslauthd -v' I get: "authentication mechanisms: getpwent kerberos5 pam rimap shadow". I don't know what getpwent is, but I know what the others are, and I don't think they would work for what I'm doing. I have a few domains (a total of 4) I host mail for, and I only have 20 or so workstations, so I'm not looking for a highly scalable enterprise setup.

Any suggestions?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
squirrelmail "error in login page"" when content advisor is enabled simi_virgo Linux - Networking 4 08-21-2008 01:25 PM
No UTMPX entry, You must EXEC "login" for the lowest "shell" ooihc Solaris / OpenSolaris 7 03-12-2007 02:09 PM
ld reports "no input file" at first sanity check (chapter 5.7) garba Linux From Scratch 1 07-23-2005 06:54 PM
Howto disable "Graphical Login" or "Standard Login?" the_gripmaster Red Hat 1 07-08-2004 02:55 PM
xfree86 logs - "Failed to set up write-combining range" jbryanj Linux - Newbie 0 04-30-2004 04:57 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration