Cyrus Authentication problems

Robert Harris harlock at pclynk.net
Fri Dec 5 08:24:39 EST 2003


You need to word your imtest request differently (add another option)
according to the error you got its expecting roots password not testuser  

> [root at mail root]# imtest -u testuser -m login localhost
> Please enter your password:
> C: L01 LOGIN root {11}
> S: + go ahead
this is because you are logged in as root  reword as follows  and it should 
work...
imtest -u testuser -a testuser -m login localhost

that way you are useing testusers mailbox an  authenticateing as testuser as 
well
						--Robert 

On Friday 05 December 2003 07:53 am, Doug Koobs wrote:
> > With your config, forget saslpasswd, you don't have to use it. You can
> > add unix users and then create the mailboxes for them. Call cyradm like
> > this:
> >
> > cyradm --user cyrus --auth login localhost
> >
> > then use 'cm user.name' to create the mailboxes.
>
> Simon,
>
> OK, makes sense, no more saslpasswd... Here's what I have done to create a
> testuser. However, I still can't authenticate this user in SquirrelMail or
> imtest. What am I doing wrong?
>
> [root at mail root]# useradd -s /bin/false -p fcstestuser testuser
> [root at mail root]# cyradm --user cyrus --auth login localhost
> IMAP Password:
>
> localhost.localdomain> cm user.testuser
> localhost.localdomain> lam user.testuser
> testuser lrswipcda
> localhost.localdomain> exit
>
> [root at mail root]# imtest -u testuser -m login localhost
> S: * OK mail.fcsservices.com Cyrus IMAP4 v2.1.15-Invoca-RPM-2.1.15-1 server
> ready
> C: C01 CAPABILITY
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
> NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES STARTTLS LISTEXT LIST-SUBSCRIBED
> ANNOTATEMORE X-NETSCAPE
> S: C01 OK Completed
> Please enter your password:
> C: L01 LOGIN root {11}
> S: + go ahead
> C: <omitted>
> S: L01 NO Login failed: authentication failure
> Authentication failed. generic failure
> Security strength factor: 0
>
>
> Doug
>
>
>
>
>
> Confidential: This electronic message and all contents contain information
> from Financial Credit Services which may be privileged, confidential or
> otherwise protected from disclosure. The information is intended to be for
> the addressee only. If you are not the addressee, any disclosure, copy,
> distribution or use of the contents of this message is prohibited. If you
> have received this electronic message in error, please notify the sender
> and destroy the original message and all copies.





More information about the Info-cyrus mailing list