Qmail-LDAP
[Top] [All Lists]

problem with auth_imap - special character in the password

To: qmail-ldap@qmail-ldap.org
Subject: problem with auth_imap - special character in the password
From: Andre Gerhard <agerhard@usp.br>
Date: Tue, 27 Feb 2007 16:42:26 -0300
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Organization: CCE USP

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>
  • problem with auth_imap - special character in the password, Andre Gerhard <=