Re: [Dovecot] Login with firstname.lastname instead of loginname - WORKING

2011-01-06 Thread Ed W
On 05/01/2011 08:51, Ralf Hildebrandt wrote: 3 years ago (!) I aksed about this and finally I implemented it today: # NEW passdb { driver = passwd # firstname.lastn...@charite.de:password:uid:gid:(gecos):home:(shell):user=realloginname args =

Re: [Dovecot] Login with firstname.lastname instead of loginname - WORKING

2011-01-06 Thread Ralf Hildebrandt
* Ed W li...@wildgooses.com: On 05/01/2011 08:51, Ralf Hildebrandt wrote: 3 years ago (!) I aksed about this and finally I implemented it today: # NEW passdb { driver = passwd # firstname.lastn...@charite.de:password:uid:gid:(gecos):home:(shell):user=realloginname

[Dovecot] Login with firstname.lastname instead of loginname - WORKING

2011-01-05 Thread Ralf Hildebrandt
3 years ago (!) I aksed about this and finally I implemented it today: # NEW passdb { driver = passwd # firstname.lastn...@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

Re: [Dovecot] Login with firstname.lastname instead of loginname - WORKING

2011-01-05 Thread Thomas Leuxner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jan 05, 2011 at 09:51:19AM +0100, Ralf Hildebrandt wrote: But now I'm encountering problems with users writing firstname.lastn...@charite.de instead of firstname.lastn...@charite.de (capitalized first letters) How can I normalize the

Re: [Dovecot] Login with firstname.lastname instead of loginname - WORKING

2011-01-05 Thread Willie Gillespie
Ralf Hildebrandt wrote: 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 auth_username_format = %Lu

Re: [Dovecot] Login with firstname.lastname instead of loginname - WORKING

2011-01-05 Thread Ralf Hildebrandt
* Thomas Leuxner t...@leuxner.net: Not tested, but hunch tells me something like: args = username_format=%Ln should work. http://wiki2.dovecot.org/Variables Yes, that worked like a charm! Now we were able to switch from an old courier-pop + patched authdaemon to dovecot for ALL

Re: [Dovecot] Login with firstname.lastname instead of loginname

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 11:26 +0200, Ralf Hildebrandt wrote: Some of our users use to login as firstname.lastname or [EMAIL PROTECTED] instead of using the correct flastname login name. In order to get this behaviour a long-gone co-worker wrote an authdaemon.pl, which speaks the

Re: [Dovecot] Login with firstname.lastname instead of loginname

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 14:12 +0200, Ralf Hildebrandt wrote: * Timo Sirainen [EMAIL PROTECTED]: What passdb are you using? auth default: master_user_separator: * verbose: yes passdb: driver: passwd-file args: /usr/local/etc/dovecot.masterusers pass: yes master: yes

Re: [Dovecot] Login with firstname.lastname instead of loginname

2007-05-16 Thread Ralf Hildebrandt
* Ralf Hildebrandt [EMAIL PROTECTED]: * Timo Sirainen [EMAIL PROTECTED]: What passdb are you using? auth default: master_user_separator: * verbose: yes passdb: driver: passwd-file args: /usr/local/etc/dovecot.masterusers pass: yes master: yes passdb: driver: shadow