LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 10-21-2005, 07:59 PM   #1
nobu
Member
 
Registered: Jul 2002
Posts: 32

Rep: Reputation: 15
cyrus NO Login failed: authentication failure


I have been struggling to set-up a web/mail server in redhat rhel4. Since I am a pretty much newbie in server administration, my question may sound a little stupid. So forgive me.

I have created a user account by doing:

in /etc/mail/virtusertable. I add
info@mydomainname myuser

run the commond
makemap dbm /etc/mail/virtusertable < virtusertable

create a mailbox by
cyradm --user cyrus ľauth plain localhost
cm user.myuser
quit

set a passwd for the user by
saslpasswd2 user.myuser
password xxxx
password xxxx

When I try to check an account(in case of imap), I get following error:
imtest -a myuser -m login -p imap -v localhost
S: * OK localhost.localdomain Cyrus IMAP4 v2.2.10-Invoca-RPM-2.2.10-1.RHEL4.1 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS LISTEXT LIST-SUBSCRIBED X-NETSCAPE
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN myuser {6}
S: + go ahead
C: <omitted>
S: L01 NO Login failed: authentication failure
Authentication failed. generic failure
Security strength factor: 0


When I try to check an accont(in case of pop3), I get following error:
[root@localhost ~]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK localhost.localdomain Cyrus POP3 v2.2.10-Invoca-RPM-2.2.10-1.RHEL4.1 server ready <4090239478.1129942609@localhost.localdomain>
user myuser
+OK Name is a valid mailbox
pass sdflkj
-ERR [AUTH] Invalid login

In both case, I get invalid login error.

Could someone direct me to a right direction?
 
Old 10-23-2005, 06:04 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,175

Rep: Reputation: Disabled
Is your saslauthd running?

Run
Code:
chkconfig --list saslauthd
to verify that it is started at boot time.

Eric
 
Old 10-24-2005, 10:59 AM   #3
nobu
Member
 
Registered: Jul 2002
Posts: 32

Original Poster
Rep: Reputation: 15
cyrus NO Login failed: authentication failure

Yes, saslauthd is running.
 
Old 10-24-2005, 12:32 PM   #4
nobu
Member
 
Registered: Jul 2002
Posts: 32

Original Poster
Rep: Reputation: 15
Unhappy cyrus NO Login failed: authentication failure

The strange thing is that I can login by using unix username and password. Is this normal?
 
Old 10-24-2005, 03:24 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,175

Rep: Reputation: Disabled
My /etc/imapd.conf contains (amongst others of course):
Code:
sasl_pwcheck_method: saslauthd
sasl_mech_list: pam
 
Old 10-24-2005, 04:57 PM   #6
nobu
Member
 
Registered: Jul 2002
Posts: 32

Original Poster
Rep: Reputation: 15
cyrus NO Login failed: authentication failure

Hi,

My imapd.conf had following. I have also tried pam, but didn't work. I am completely stuck.

sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
 
Old 10-24-2005, 08:15 PM   #7
nobu
Member
 
Registered: Jul 2002
Posts: 32

Original Poster
Rep: Reputation: 15
cyrus NO Login failed: authentication failure

Would that be any difference if I have virtual domains?

thanks
 
  


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
cyrus-sasl authentication problem nobu Red Hat 1 11-01-2005 06:54 PM
cyrus imap authentication problem boom_mike Linux - Software 0 03-06-2005 11:55 PM
Login Failure after messing with Authentication Configuration s14rider Linux - Software 8 01-14-2005 02:42 PM
Login problem: 'Authentication Failed' naren_0101bits Linux - Software 1 07-19-2004 03:16 AM
PAM User Login Authentication Failure robeb Linux - Security 5 11-16-2002 08:01 PM


All times are GMT -5. The time now is 12:36 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration