[Samba] pam_smbpass.so on AIX

Benjamin Huntsman BHuntsman at mail2.cu-portland.edu
Fri Jan 18 14:58:03 MST 2013


>Run ldd on the binary.  it will show the unresolved library references.

Hi there!  Here is the output:

benhu at systst:/opt $ ldd /opt/samba-4.0.0/lib/security/pam_smbpass.so
/opt/samba-4.0.0/lib/security/pam_smbpass.so needs:
         /usr/lib/libc.a(shr.o)
         /usr/lib/libpam.a(shr.o)
         /usr/lib/libpthread.a(shr_xpg5.o)
         /opt/samba-4.0.0/lib/libwbclient.so
         /usr/lib/librtl.a(shr.o)
         /unix
         /usr/lib/libcrypt.a(shr.o)
         /usr/lib/libmls.a(shr.o)
         /usr/lib/libpthreads.a(shr_comm.o)
         /usr/lib/libpthreads.a(shr_xpg5.o)
         /usr/lib/libmlsenc.a(shr.o)
         /usr/lib/libodm.a(shr.o)
benhu at systst:/opt $ ldd /opt/samba-4.0.0/lib/libwbclient.so
/opt/samba-4.0.0/lib/libwbclient.so needs:
         /usr/lib/libc.a(shr.o)
         /usr/lib/libpthreads.a(shr_xpg5.o)
         /usr/lib/librtl.a(shr.o)
         /unix
         /usr/lib/libcrypt.a(shr.o)
         /usr/lib/libpthreads.a(shr_comm.o)


AIX doesn't have an rpath option that I know of, and it doesn't have an ld.so.conf.  The closest equivalent is to define LIBPATH in /etc/environment.  I have done this, since I had to do that to get swat working in the first place.
But the above looks good to me, since they're absolute paths you'd think it's just work...
Since it works for swat and not for passwd though, I'm wondering if it has something to do with 32-bit vs 64-bit binaries...

Thanks!

-Ben


More information about the samba mailing list