Re: UAMs not loading in pre-37b


Subject: Re: UAMs not loading in pre-37b
From: Paul T Hirose (pthirose@supreme.engr.ucdavis.edu)
Date: Fri Jan 28 2000 - 14:06:03 EST


I've changed the subject a bit

> uam_load (uams_clrtxt.so): ld.so.1: ../sbin/afpd: fatal: relocation error: file /local/atalk/etc/uams/uams_clrtxt.so: symbol kcheckuser: referenced symbol not found
> erk. add ${AFSLIBS} ${KRBLIBS} to the appropriate places in
> etc/uams/Makefile.

I tried that earlier (along w/adding ${AFSLIBDIRS}) and that doesn't work.
kcheckuser lives in etc/uams/uams_krb4/uams_krb4.c, which has a
        #if defined( KRB ) || defined( UAM_AFSKRB )
at the very top of itself. As far as I can tell, neither are defined. I'm
not using Kereberos, per se. I'm strictly using AFS (my AFSDIR is defined
but my KRBDIR is commented out in my top-level Makefile.) I added a
        || defined( AFS )
at that line as well, just to see, but that didn't work. I'm not sure how

I also confess to not even being able to figure out when/why/how the
uams_krb4.c file is ever built. I can't find any reference to it in any
Makefile anywhere. Did I miss a Readme file somewhere? :)

I tried cutting and pasting in kcheckuser from uams_krb4.c in to my
uams_passwd.c file. Then linked in AFSLIBDIRS (in particular libkauth.a
is needed which is where ka_Init lives) and that didn't work eitehr,
got tons of wierd library relocation erros at gcc -shared stage.

Anyway, still puttering away. Any recommendations, welcome.

PH

-- 
Paul Hirose          : pthirose@ucdavis.edu : Sysadm Motto: rm -fr /my/life
1035 Academic Surge  : Programmer/Analyst   : Backup Motto  : rm -fr /
One Shields Avenue   : Fax   (530) 752-4465 :-------------------------------
Davis, CA 95616-8770 : Voice (530) 752-7181 : rec.pets.cat.anecdotes \(^_^)/



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:29:54 EST