when samba is configured to be member of an ActiveDirectory with running winbindd the following output appears on every invokation of "su" or "passwd":
iniparser: cannot open /etc/security/pam_winbind.conf
At least in samba-3.5.9 there is a sample config file:
I suggest to let the samba ebuild install this file when the winbind USE flag is enabled.
+*samba-3.5.11 (07 Aug 2011)
+ 07 Aug 2011; Lars Wendler <firstname.lastname@example.org> files/3.4/samba.confd,
+ +samba-3.5.11.ebuild, files/3.5/samba.confd, samba-3.6.0_rc3-r1.ebuild,
+ Non-maintaner commit: 3.5.11 version bump (bug #377909), removed --oknodo
+ from confd files (see bug #377843 as reference), install pam_winbind.conf
+ when "pam" and "winbind" USE flags are enabled (bug #376853).