[Dovecot] pam_dovecotpw anybody?
sb at dod.no
Sun Nov 2 11:31:40 EET 2008
Samba has pam_smbpass which is a PAM module that hooks into password
changing, and changes the users' samba password (presumably used for
NTLM auth?), when the users change their ordinary unix/linux password.
It shouldn't bee too hard to take the code from here, combine it with
dovecotpw and create a PAM module that changes the dovecot password in a
way that can be used for cram-md5.
Ideally it should read the /etc/dovecot/dovecot.conf (whereever it is),
and find the path of the passwd-file and use that.
Has anyone else looked into doing something like this?
More information about the dovecot