[OpenAFS-port-darwin] Compiling pam_krb5 on Mac OS X

Chuck Boeheim boeheim@slac.stanford.edu
Thu, 09 Sep 2004 20:35:10 -0700


Seems like it's already using the Kerberos framework:

 > cd /usr/lib/pam
 > otool -L pam_krb5.so

pam_krb5.so:
	/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos (compatibility version 5.0.0, current version 5.0.0)
	/usr/lib/libpam.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.1)


It looks like sshd is calling the library...does the -L option on a .so 
library set the
path for dynamic libraries called from it, or does it have to be in the 
executable that
started everything?
-Chuck

Derrick J Brashear wrote:

>
> you could use the Kerberos framework, and just worry about the 
> framework path (which iirc can be set using the -F option to gcc, like 
> -L can be used for library search path)
>
> but iirc just the -L option should be enough. what does
> otool -L show when you run it on the pam module?
>
>
>
> _______________________________________________
> port-darwin mailing list
> port-darwin@openafs.org
> https://lists.openafs.org/mailman/listinfo/port-darwin