Displaying 1 result from an estimated 1 matches for "allow_pam_transform".
2014 Dec 12
0
PATCH - add username_format to the PAM auth module
...PAM module.
The use-case, is where I want a static userdb configuration which takes the
domain into account but still want to use PAM for authentication, eg:
userdb {
driver = static
args = uid=8 gid=12 home=/mnt/storage/mail/vhosts/%d/%n
}
passdb {
driver = pam
args = username_format=%n allow_pam_transform=no dovecot
}
The global "auth_username_format" setting ends up changing the username, so
looses the ability to have different mailboxes based on domain.
There is also a new setting, allow_pam_transform which stops the username
being changed after a successful authentication. Normally, i...