[Dovecot] strip realms and force lowercasing of usernames?

Dan Hollis test3943395 at anime.net
Mon Jun 20 14:35:37 EEST 2005


On Mon, 20 Jun 2005, Chris Wakelin wrote:
> Jeff Graves wrote:
> > I don't know C or C++ but here's the patch I wrote for lowercase auth on
> > test69. Hopefully it's a starting point for anyone who wants to try and
> > tackle this but well beyond my abilities.
> Actually, I've discovered this isn't necessary. You can use
> 
> auth_username_translation = 
> AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
> 
> in Dovecot 1.0 stable/tests.
> 
> It's no help for stripping domains though, but solves my problem 
> authenticating against AD via PAM but using userdb=passwd (AD isn't 
> case-senstive).

Wow. That's pretty wacky. Seems to me it would be better off using regex 
syntax. Then you could uppercase/lowercase and strip domains too.

-Dan



More information about the dovecot mailing list