I installed a Debian server into a Windows controlled domain. I then tried to give to LDAP users from this domain access to my Debian via Samba, Winbind and Kerberos, which works almost perfectly.
In fact, my problem is that it looks like my pam checks aren't used at all (I made a call to
pam_exec.so, which only calls a script to log data, in the
/etc/pam.d/samba file AND in the
/etc/pam.d/common-session, and none of them runs...)
So, if anyone could give me a hint on how could I troubleshoot this problem, that would be nice :)