[Dovecot] Login with firstname.lastname instead of loginname - WORKING
Ralf Hildebrandt
Ralf.Hildebrandt at charite.de
Wed Jan 5 10:51:19 EET 2011
3 years ago (!) I aksed about this and finally I implemented it today:
>> # NEW
>> passdb {
>> driver = passwd
>> # firstname.lastname at charite.de:password:uid:gid:(gecos):home:(shell):user=realloginname
>> args = /usr/local/etc/dovecot.login_via_email
>> }
>If you're only using it as a passdb, you don't need the uid/gid/home. So
>an example field would be:
>
>firstname.lastname at charite.de:password::::::user=realloginname
But now I'm encountering problems with users writing
Firstname.Lastname at charite.de
instead of
firstname.lastname at charite.de
(capitalized first letters)
How can I "normalize" the usernames by lowercasing them?
The coolest solution would be to strip realms AND force lowercasing of
usernames in one pass
--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
ralf.hildebrandt at charite.de | http://www.charite.de
More information about the dovecot
mailing list