Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 21 Feb 2004 01:51:52 -0800
From: "Hallgrimur H. Gunnarsson" <>
Subject: Re: Case sensitive

On 20.02.2004 Martin Kanarr <> wrote:
> I noticed that popa3d is case sensitive, based on the POP3 RFC shouldn't POP AUTH been case insensitive and is there any option or patch available to make usernames case insensitive?  Thanks!

Afaik, the pop3 rfc does not require usernames to be case insensitive.
That decision is left to the pop3 server's discretion. In popa3d's instance,
it depends on the chosen authentication method.

For example, getpwnam() and getspnam() are usually case sensitive on linux,
unless, perhaps, if you've chosen a different nss database. This means,
that if you've chosen passwd or shadow authentication in popa3d, usernames
will be case sensitive. If you've chosen PAM, then it depends on the relevant
PAM module. I don't know if any PAM modules have an option for case insensitive

An easy solution, and common in other pop3 servers, is to convert the username
to lowercase before it is supplied to the respective authentication mechanism.
Here's such a patch for popa3d:

-- hhg
Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.