<span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: 'Times New Roman'; font-size: medium; ">Hi Folks, <br><br>When I try to authenticate user using Authen::PAM <a href="http://search.cpan.org/dist/Authen-PAM/" style="color: rgb(0, 0, 102); ">http://search.cpan.org/dist/Authen-PAM/</a> (version 0.17) following error is displayed in /var/log/secure file. Linux version is CentOS 5.4. Is Authen::PAM compatible with current versions of Linux PAM or are any changes required <br>
<br>Jun 13 16:22:33 localhost concso-sshd<a href="http://www.perlmonks.org/?node=4534" style="color: rgb(0, 0, 102); ">4534</a>: PAM unable to resolve symbol: pam_sm_authenticate <br>Jun 13 16:22:33 localhost concso-sshd<a href="http://www.perlmonks.org/?node=4534" style="color: rgb(0, 0, 102); ">4534</a>: PAM unable to resolve symbol: pam_sm_setcred <br>
<br>Any insights will be appreciated. Also if you have any suggestions about Perl based modules for PAM that'll be great too. Requirement is that when user logs in (via SSH), my code/script should be invoked to decide if authentication passed or failed</span><div>
<span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: 'Times New Roman'; font-size: medium; "><br>Thanks</span><div><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: 'Times New Roman'; font-size: medium; ">Mauj</span></div>
</div>