[OpenAFS-port-darwin] Porting pam-krb5 to OSX, was: Kerberos V and xscreensaver/xlock
on openafs-info
Henry B. Hotz
hotz@jpl.nasa.gov
Fri, 8 Nov 2002 13:47:21 -0800
At 12:07 AM +0100 11/8/02, Balazs GAL wrote:
>I think openafs-info is not the right place for discussion
>about pam_krb5 so i made a new pam_krb5 list:
>
>To post to this list, send your email to:
>
> pam-krb5@rit.bme.hu
>
>General information about the mailing list is at:
>
> https://mail.rit.bme.hu/mailman/listinfo/pam-krb5
Not sure we need a new mailing list, but I agree that openafs-info
was not the right place to carry the discussion. Anyone with
opinions please email me directly and not on the lists.
Currently the module
http://www.rit.bme.hu/~balsa/pam_krb5/snap/pam_krb5_snap-2002.11.07.tar.gz
fails with the following traceback:
> #0 0x8fe01280 in halt
> #1 0x8fe106b4 in link_in_need_modules
> #2 0x8fe12230 in _dyld_link_module
> #3 0x900171c8 in NSLinkModule
> #4 0x93ef53d0 in _pam_dlopen
> #5 0x93ef35e4 in _pam_init_handlers
> #6 0x93ef2fd4 in _pam_dispatch
> #7 0x93ef3170 in _pam_init_handlers
> #8 0x93ef2258 in pam_start
> #9 0x0000a9b0 in 0xa9b0
> #10 0x000152f4 in 0x152f4
> #11 0x00014a2c in 0x14a2c
> #12 0x000146f4 in 0x146f4
> #13 0x000034cc in 0x34cc
> #14 0x000050dc in 0x50dc
> #15 0x000027c0 in 0x27c0
> #16 0x00002640 in 0x2640
The link line was:
>gcc -r -keep_private_externs -nostdlib -o .libs/pam_krb5.so-master.o
>pam_krb5.lo && gcc -bundle -flat_namespace -undefined suppress -o
>.libs/pam_krb5.so .libs/pam_krb5.so-master.o -L/usr/local/pam/lib
>-lkrb5 -lk5crypto -lcom_err -lpam -lc --version-script=Versions
You can look at the configure and make logs at
/afs/jpl.nasa.gov/home/h/hotz/public/pam/pam_krb5_snap/
For comparison: the link for one of the modules in the pam-9 package
from the Darwin project is:
>gcc -arch ppc -g -Os -pipe -Wall
>-DAR=/Network/afs/jpl.nasa.gov/home/h/hotz/public/pam/pam-9/ar.sh
>-Ddarwin -no-cpp-precomp -I./include
>-I/private/tmp/PAM/Build/libpam/include -I/private/tmp/PAM/Build
>-I/private/tmp/PAM/Build/libpamc/include -I../pammodutil/include
>-DPAM_DYNAMIC -c pam_securetty.c -o dynamic/pam_securetty.o
>cc -bundle -arch ppc -g -Os -pipe -Wall
>-DAR=/Network/afs/jpl.nasa.gov/home/h/hotz/public/pam/pam-9/ar.sh
>-Ddarwin -no-cpp-precomp -I./include
>-I/private/tmp/PAM/Build/libpam/include -I/private/tmp/PAM/Build
>-I/private/tmp/PAM/Build/libpamc/include -o pam_securetty.so
>dynamic/pam_securetty.o -lc -L../pammodutil -lpammodutil
>-L/private/tmp/PAM/Build/libpam -lpam
I hope someone can help.
--
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu