<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.5762.3">
<TITLE>RE: How comile pam modules</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>try<BR>
<BR>
g++ -shared -lpam pam_permit.c -o pam_permit.so<BR>
<BR>
Guilherme Mazzela<BR>
<BR>
-----Original Message-----<BR>
From:   Matt Sellers [<A HREF="mailto:matt@indigo.nu">mailto:matt@indigo.nu</A>]<BR>
Sent:   Thu 12/8/2005 5:37 PM<BR>
To:     pam-list@redhat.com<BR>
Cc:    <BR>
Subject:        How comile pam modules<BR>
Im trying to compile a single pam module via this.<BR>
<BR>
<BR>
<BR>
The problem i keep seing in syslog everytime I run the module.<BR>
<BR>
syslog:<BR>
<BR>
Dec 5 16:32:53 linuxlab2 su: PAM unable to<BR>
dlopen(/lib/security/$ISA/pam_permit.so)<BR>
Dec 5 16:32:53 linuxlab2 su: PAM [dlerror:<BR>
/lib/security/../../lib/security/pam_permit.so: undefined symbol:<BR>
_Z12pam_get_userP10pam_handlePPKcS2_]<BR>
Dec 5 16:32:53 linuxlab2 su: PAM adding faulty module:<BR>
/lib/security/$ISA/pam_permit.so<BR>
<BR>
Anybody got any ideas, im trying to write my own pam module to do nice<BR>
things, and this is my practice.<BR>
<BR>
:-)<BR>
-matt<BR>
<BR>
_______________________________________________<BR>
Pam-list mailing list<BR>
Pam-list@redhat.com<BR>
<A HREF="https://www.redhat.com/mailman/listinfo/pam-list">https://www.redhat.com/mailman/listinfo/pam-list</A><BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>