On 20 Jan 2005, [EMAIL PROTECTED] wrote: On Thu, Jan 20, 2005 at 04:53:03PM -0500, Ted Zlatanov wrote: > >> While this appears useful at first glance, what if several users have >> the same e-mail address? Which password will you check? > > Can you have more than one user with the same email address in > qmail-ldap? Try having two with the same one (ie [EMAIL PROTECTED]) and look > it up: > qmail-ldaplookup -m [EMAIL PROTECTED]
I was able to create two users with the same e-mail address under mailAlternateAddress, but qmail-ldaplookup only reported the first one. I'm not sure why. This was the setup: user A had mailAlternateAddress [EMAIL PROTECTED] user B had mailAlternateAddress [EMAIL PROTECTED] "qmail-ldaplookup -m [EMAIL PROTECTED]" only reported user A. Maybe I'm doing something wrong, but this looks strange. I'm no LDAP expert. Anyhow, I still think your patch is a good idea (but it should be configurable, not always on). I'm just concerned about duplicate addresses. Ted
