[Dovecot] Mapping username only for auth

Timo Sirainen tss at iki.fi
Sun Oct 16 18:21:59 EEST 2005


On Thu, 2005-10-06 at 13:11 -0600, Andy Cravens wrote:
> I am running Dovecot alpha 3 with authentication from the local shadow 
> file.  I'd like to change the authentication to use our  radius server.  
> I can probably do this through pam.
> 
> The usernames on the mail server are set up as first initial + last name 
> ( jdoe for John Doe ).  The usernames on the radius server are the 
> employee number.  Is there a way to map the username to the employee 
> number in dovecot before handing off the authentication to the radius 
> server?  I want the usernames on the mail server to remain first initial 
> + last name.  I don't mind maintaining a mapping file to go from 
> username to employee number because I can automate this task.
> 
> Has anybody done this?

Dovecot can't do this. Probably could/should be done by a PAM module
that is called before the Radius module.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051016/83e76309/attachment.pgp


More information about the dovecot mailing list