[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: PAM



> On Thu, Aug 05, 1999 at 10:36:16AM -0400, Alex Turner wrote:
> > 
> > I got the module fine.  Got some way to copmiling, but I don't have any of
> > the SSL stuff being that I'm using the OpenLDAP libraries in RedHat 6.0
> > Linux kernel 2.2.10.
> > 
> > Is there any way I can take out the SSL stuff?
> 
> what SSL stuff ?  You must be talking about an older version ; I
> removed the SSL stuff long time ago when I stopped using the Netscape
> SDK.

DOH!  It was in /usr/lib/ldap.a - old libs hanging around *sigh*

it compiled, but I get the following error in /var/log/messages:

Aug 5 11:01:43 localhost httpd: PAM unable to
dlopen(/lib/security/pam_LDAP.so)
Aug  5 11:01:43 localhost httpd: PAM [dlerror: /lib/security/pam_LDAP.so:
ELF file's phentsize not the expected size]
Aug  5 11:01:43 localhost httpd: PAM adding faulty module:
/lib/security/pam_LDAP.so

I'm compiling with gcc -fPIC -o pam_LDAP.so pam_LDAP.c -lldap -lpam
-rdynamic -llber -ldl -lcrypt -L/usr/local/lib -c

TIA

Alex Turner