Qmail-LDAP
[Top] [All Lists]

Re: problem with auth_imap - special character in the password

To: qmail-ldap@qmail-ldap.org
Subject: Re: problem with auth_imap - special character in the password
From: Andre Gerhard <agerhard@usp.br>
Date: Tue, 6 Mar 2007 11:00:31 -0300
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <20070227164226.313aaa1c.agerhard@usp.br>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Organization: CCE USP
References: <20070227164226.313aaa1c.agerhard@usp.br>
Hello,

More about this issue:

I have observed that if the logins are done through the proxy, the quotes
are omitted in the first login attempt, even if I had typed them.

So, if I do:

$ telnet localhost 143
...
01 login myuser "t8(w3!h"
01 NO Error in IMAP command received by server.
01 login myuser "t8(w3!h"
01 OK LOGIN Ok.


In the myuser server (capturing the network session) I see

...
IMAP Request: 01 login myuser t8(w3!h
IMAP Response: 01 NO Error in IMAP command received by server.
IMAP Request: 01 login myuser "t8(w3!h"
IMAP Response: 01 OK LOGIN Ok.


The quotes vanishes in the first attempt, they are not included
in the communication.


Thanks
Andre



On Tue, 27 Feb 2007 16:42:26 -0300
Andre Gerhard <agerhard@usp.br> wrote:

> 
> 
> Hello,
> 
> I have a cluster system with auth_imap as authenticator. When I issue the
> "login user" command from outside the Maibox machine for that user
> (through the cluster redirection), I have to repeat the command (one or
> more times).
> 
> When I log directly at the machine where the user is hosted, the 
> authentication
> works on the first attempt.
>  
> This problem appears to occur only when the user has a "special" character
> in the password, like the "(" in the example below.
> 
> In the backend I have Courier-IMAP 3.08 and latest qmail-ldap patch.
> 
> 
> Thanks in advance,
> 
> Andre Gerhard
> Universidade de Sao Paulo
> 
> 
> 
> # telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
> THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. 
> Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution 
> information.
> 01 login myuser "t8(w3!h"
> 01 NO Error in IMAP command received by server.
> 01 login myuser "t8(w3!h"
> 01 OK LOGIN Ok.
> 02 logout
> * BYE Courier-IMAP server shutting down
> 02 OK LOGOUT completed
> Connection closed by foreign host.
> 
> 
> In the backend machine for myuser:
> 
> # telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
> THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. 
> Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution 
> information.
> 01 login myuser "t8(w3!h"
> 01 OK LOGIN Ok.
> 02 logout
> * BYE Courier-IMAP server shutting down
> 02 OK LOGOUT completed
> Connection closed by foreign host.
> 
> 
> 
> 

<Prev in Thread] Current Thread [Next in Thread>