Author: Tamas TEVESZ Date: To: Hunte Swee CC: exim-users Subject: Re: [Exim] crypteq function (Wish)
On Mon, 1 Sep 2003, Hunte Swee wrote:
> The current `crypteq` function won't work when the string starting
> with {MD5}, it only work with {md5}. But openldap allowed
> userPassword to be stored start with uppercase of {MD5}, this cause
> some problem.
>
> So I wish that crypteq function can compare string start both {MD5}
> and {md5}, and also {SHA1}/{sha1}.
seems to be just the matter of converting Ustrncmp() call to
Ustrncasecmp() in src/expand.c:1579 and 1618 (adding a define to
mtypes.h first, along the lines of Ustrncmp), if its urgent. i didn't
test my theory, though.