On 20 Jul 2004, [EMAIL PROTECTED] wrote:
This problem also occurs if the user sends a blank string for Username.
How many ppl in this list are using AUTH SMTP? I'm intrigued
because these Outlook+qmail-ldap bugs are preventing me to use
this AUTH LDAP in my site. I really would like to write a
patch for it, but I do not write in C.
Here is the Microsoft KB about the Outlook bug:
http://support.microsoft.com/?kbid=816481 . It sends blank
passwords if the user do not save them. And qmail-ldap drops
the connection without the correct "authentication failure"
message.
Any comments will be appretiated.
It looks like line 1552 of qmail-smtpd.c, where remoteinfo gets the
contents of line.s, could be the place to put a simple check for
the username. If it contains only space characters (space, tab,
newline) then it should be replaced with "no-such-user-blank-given"
or the proper message could be printed. Sorry, my C is probably
worse than yours, so I can't write that.
Ted