PAM – Locking out accounts when using external authentication
A look at how PAM modules on different operating systems can be used to lock out accounts when an external authentication provider is used.
A look at how PAM modules on different operating systems can be used to lock out accounts when an external authentication provider is used.
It took me a while to figure this code out, and there seemed to be a lack of complete examples on the web to do exactly this, so I thought I’d document it. I needed to connect to an LDAP server using a Kerberos principal for authentication from within a Perl script. This meant that it needed to do it …