[Dovecot] strip realms and force lowercasing of usernames?

Chris Wakelin c.d.wakelin at reading.ac.uk
Mon Jun 20 14:27:13 EEST 2005


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).

Best Wishes,
Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list