[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: PAM-Kerberos problems



included is my minor patch I used to build the krb5 module for the dhp
distribution that we use.  Basically you need to give it /usr/lib/libc.so
as part of the linking, and it all works.

-Matt Drown     -- Privacy, Anonyminity, & Security -- DataHaven Project
 panzer@dhp.com -- Shell and Web accounts           -- http://www.dhp.com/ 

On Fri, 11 Jun 1999, Tim Yardley wrote:

> I have a Redhat 6.0 box and I have run into an issue with fstat.  I was
> wondering if you could help shine some light on the problem for me.  Here
> is the versions and various config information... thanks in advance for
> your time and help.
> 
> ldd (GNU libc) 2.1.1
> glibc-2.1.1-6   
> libc-5.3.12-31     
> egcs-2.91.66 
> GNU ld 2.9.1
> GNU nm 2.9.1 
> 
> -rw-r--r--   1 root     root          178 Apr 16 17:48 /usr/lib/libc.so  
> 
> [yardley@plasma ~]$ cat /usr/lib/libc.so
> /* GNU ld script
>    Use the shared library, but some functions are only in
>    the static library, so try that secondarily.  */
> GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a )
> [yardley@plasma ~]$                                
> 
> lrwxrwxrwx   1 root     root           13 May 21 09:48 /lib/libc.so.6 ->
> libc-2.1.1.so 
> -rwxr-xr-x   1 root     root      4016683 Apr 16 17:48 /lib/libc-2.1.1.so  
> 
> -rw-r--r--   1 root     root        69638 Apr 16 17:48
> /usr/lib/libc_nonshared.a  
> 
> 
> The error is as follows:
> Jun  9 16:15:34 plasma login: PAM unable to
> dlopen(/lib/security/pam_krb5.so)
> Jun  9 16:15:34 plasma login: PAM [dlerror: /lib/security/pam_krb5.so:
> undefined symbol: fstat]
> Jun  9 16:15:34 plasma login: PAM adding faulty module:
> /lib/security/pam_krb5.so
> 
> According to the FAQ comes with glibc, I shouldn't be having that
> problem... maybe I am overseeing things though.  It seems as if it
> is a problem with glibc, or redhat's configuration of it.  I wasn't
> sure where to send this, so PAM and devel were the closest that I could
> find for it.  Sorry about spamming more than one list.  Thanks for your
> help.
> 
> Please respond to my email address [yardley@ncsa.uiuc.edu] instead of just
> to the list, because I am not on both lists.  Thanks in advance.
> 
> /tmy
> 
> -- Diving into infinity my consciousness expands in inverse
>    proportion to my distance from singularity
> 
> 
> 
> 
> -- 
> To unsubscribe: mail -s unsubscribe pam-list-request@redhat.com < /dev/null
> 
> 
diff --recursive -u pam_krb5-1.0-1.orig/Makefile pam_krb5-1.0-1/Makefile
--- pam_krb5-1.0-1.orig/Makefile	Wed Dec 16 03:54:55 1998
+++ pam_krb5-1.0-1/Makefile	Wed Dec 16 03:53:57 1998
@@ -70,7 +70,7 @@
 $(LIBOBJD): $(LIBSRC)
 
 $(LIBSHARED):	$(LIBOBJD)
-	$(LD) -x --shared -o $@ $(LIBOBJD) $(PLUS) $(KRBLIB) -lkadm5clnt -lgssrpc -lgssapi_krb5 -lkdb5   -lkrb5 -lcrypto  -ldyn $(KRBSOURCE)/lib/libdb.a -lcom_err
+	$(LD) -x --shared -o $@ $(LIBOBJD) $(PLUS) $(KRBLIB) -lkadm5clnt -lgssrpc -lgssapi_krb5 -lkdb5   -lkrb5 -lcrypto  -ldyn /usr/lib/libc.so $(KRBSOURCE)/lib/libdb.a -lcom_err
 
 
 endif
@@ -79,7 +79,7 @@
 $(LIBOBJS): $(LIBSRC)
 
 $(LIBSTATIC): $(LIBOBJS)
-	$(LD) -r -o $@ $(LIBOBJS) $(PLUS) $(KRBLIB) -lkadm5clnt -lgssrpc -lgssapi_krb5 -lkdb5   -lkrb5 -lcrypto  -ldyn $(KRBSOURCE)/lib/libdb.a -lcom_err
+	$(LD) -r -o $@ $(LIBOBJS) $(PLUS) $(KRBLIB) -lkadm5clnt -lgssrpc -lgssapi_krb5 -lkdb5   -lkrb5 -lcrypto  -ldyn /usr/lib/libc.a $(KRBSOURCE)/lib/libdb.a -lcom_err
 
 endif
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []