#1 Login failed. System Error: No error

open
nobody
None
5
2002-01-31
2002-01-31
Anonymous
No

After an attempted login the following text appears:

Login Error
There was an error in login you to the server. Please
click HERE and try again.

System Error: No Errors

In /var/log/messages on the mailserver:
imapd[17136]: login: [10.0.0.51] demus plaintext
Feb 1 00:29:36 mail timsieved[17137]: login:
[10.0.0.51] demus PLAIN User logged in

It's a Cyrus IMAPd.

Discussion

  • Logged In: NO

    The bug is in line 619 of websieve.pl
    if ($IMAPERROR && !$ismanager) {
    seems to exit the program, if there is a message in
    $IMAPERROR and the user is not the admin. Badly, because
    there is at least the "No Errors" message in $IMAPERROR, so
    every user will be instantly logged out - except the cyrus
    admin. Change the line to
    if (($IMAPERROR ne "NO Errors") && !$ismanager) {
    and it works....
    I hope, that i interpreted your work correctly, im really
    not a programmer....

    Thomas

     
  • Logged In: YES
    user_id=200525

    I have this problem too:

    Here is my config

    cyrus-imapd 2.0.16
    authentification trough pam and ldap
    logging to imap work
    logging to timsieved work

    but i got the same messages
    Mar 18 11:52:28 molure2 imap(pam_unix)[3194]: authentication
    failure; logname= uid=76 euid=76 tty= ruser= rhost=
    Mar 18 11:52:28 molure2 timsieved[3194]: login:
    molure2.int-evry.fr[127.0.0.1] doutrele PLAIN User logged in
    Mar 18 11:55:34 molure2 imap(pam_unix)[3199]: authentication
    failure; logname= uid=76 euid=76 tty= ruser= rhost=
    Mar 18 11:55:34 molure2 imapd[3199]: login:
    molure2.int-evry.fr[127.0.0.1] doutrele plaintext
    Mar 18 11:55:34 molure2 imap(pam_unix)[3201]: authentication
    failure; logname= uid=76 euid=76 tty= ruser= rhost=
    Mar 18 11:55:34 molure2 timsieved[3201]: login:
    molure2.int-evry.fr[127.0.0.1] doutrele PLAIN User logged in
    Mar 18 11:55:34 molure2 imapd[3199]: login:
    molure2.int-evry.fr[127.0.0.1] doutrele plaintext

    Then login work for both timsieved and imapd but the WWW
    interface seem not bing able to see it

    It works fine for the administrative account

    P.S
    The workaround didn t change anything

     
  • Daniel Demus
    Daniel Demus
    2002-03-18

    Logged In: YES
    user_id=462174

    The workaround worked for me, although note that you have to
    copy the "No errors" exactly. I noticed that it said NO
    Errors in the suggestion.

    Now if there were a HOWTO for websieve and Cyrus, I would be
    happier. When I set up things from websieve, it doesn't seem
    to have any effect.

     
  • Logged In: NO

    use funclib.cyrus is the correct solution

     
  • Logged In: NO

    Make sure you set the user you're trying to log in as as the
    $cyrusadminuid in the websieve.conf. I found that was the
    problem for me.

    Damian
    damian@testosterone.biz

     
  • Logged In: NO

    Not sure at the moment.. Will investigate.

     
  • Logged In: NO

    Websieve 0.63a:

    In the above version I changed the lin 643 to:

    if ($IMAPERROR = /no errors/i && !$ismanager && $IMAPERROR)
    {

    and it works.

    Regards,
    Martin

     
  • Logged In: NO

    Websieve 0.63a:

    In the above version I changed the lin 643 to:

    if ($IMAPERROR = /no errors/i && !$ismanager && $IMAPERROR)
    {

    and it works.

    Regards,
    Martin