[imp] Not finished with strange passwords ...

Olivier PAGE olivier.page@esm2.imt-mrs.fr
Thu, 28 Feb 2002 17:05:35 +0100


---------------------- multipart/signed attachment

> > I've noticed that :
> > . login foo foobar  <----- with 2 spaces at the end ....
> >
> > doesn't work ...
> 
> Some more things you please can try to find out: Does quoting _always_ work
> even if there are no whitespaces? What happens if you quote a password that
> contains a quote itself? Does the login dialog understand escaped quotes?


if user have password foobar:

remoudou# telnet imap 143
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN]
esm2.esm2.imt-mrs.fr IMAPD may be 0.0-1a at Thu, 28 Feb 2002 16:58:04
+0100 (CET)
. login foo "foobar"
* CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN SORT
THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND
. OK LOGIN completed

and
. login foo foobar
* CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN SORT
THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND
. OK LOGIN completed

---------
if user have password foo"bar:

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN]
esm2.esm2.imt-mrs.fr IMAPD may be 0.0-1a at Thu, 28 Feb 2002 16:59:32
+0100 (CET)
. login warlop "foo"bar"
. BAD Missing required argument to LOGIN

but
. login warlop "foo\"bar"
* CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN SORT
THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND
. OK LOGIN completed
---------
if user have password foo'bar"

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN]
esm2.esm2.imt-mrs.fr IMAPD may be 0.0-1a at Thu, 28 Feb 2002 17:02:59
+0100 (CET)
. login warlop "foo'bar\""
* CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN SORT
THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND
. OK LOGIN completed

>Try if you can find out how PHP talks to the server. Does it quote the 
>passwords?

I'd like to know it ... any idea to get it ?


	Thanks


-- 
Olivier PAGE                            Rebooteux Systeme (D) /
Enseignant
	Annuaire : http://annuaire.univ-aix.fr/showuser.php?uid=page
Tel/Fax : (33) 4.91.05.44.35/45.98      email :
Olivier.Page@esm2.imt-mrs.fr
Addr:ESM2 Technopole Chateau Gombert 	13451 Marseille Cedex 13
---------------------- multipart/signed attachment
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2753 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.horde.org/archives/imp/attachments/b2e7a03c/smime.p7s

---------------------- multipart/signed attachment--