pkg:/service/file-system/smb could include necessary PAM configuration
There may be good reasons against this that I haven't thought of, but it would be nice and much more user friendly if
pkg:/service/file-system/smb dropped an
/etc/pam.d/smb which contained the necessary configuration of pam_smb_passwd(7).
This might be difficult, since the stack order may matter and I'm not sure how that is defined if configuration is spread between pam.conf and pam.d.