[Dovecot] pam_dovecotpw anybody?

Steinar Bang 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.
	http://gitweb.samba.org/?p=samba.git;a=tree;f=source3/pam_smbpass;h=c230a1b239719ae28271010e69fbbc759e935a57;hb=HEAD

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 mailing list