Cyrus Authentication problems
Simon Matter
simon.matter at ch.sauter-bc.com
Fri Dec 5 10:07:53 EST 2003
>> 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
Are you sure you can set the password like this? IIRC you can only do this
with the encrypted passwd. Please try 'passwd 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
So, obviously your authentication works perfect!
>
> [root at mail root]# imtest -u testuser -m login localhost
Hm, I have never used imtest. Just try telnet localhost pop3 and try to
login.
HTH
Simon
> 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