[Samba] 4.1.7, PAM and dlopen errors

Jonathan Hunter jmhunter1 at gmail.com
Tue Jun 3 17:37:11 MDT 2014


Hi,

I upgraded to 4.1.7 from 4.1.4 last night; no other changes.

Now, every minute I am getting errors from cron as it tries to execute
a cron job (I'm not actually sure if the job fails or succeeds):

Jun  4 00:28:01 server crond[1080]: PAM adding faulty module:
/lib64/security/pam_winbind.so
Jun  4 00:28:01 server crond[1082]: PAM unable to
dlopen(/lib64/security/pam_winbind.so):
/usr/local/samba/lib/private/libwinbind-client.so: version
`SAMBA_4.1.7' not found (required by
/usr/local/samba/lib/libwbclient.so.0)
Jun  4 00:28:01 server crond[1082]: PAM adding faulty module:
/lib64/security/pam_winbind.so
Jun  4 00:28:01 server crond[1081]: PAM unable to
dlopen(/lib64/security/pam_winbind.so):
/usr/local/samba/lib/private/libwinbind-client.so: version
`SAMBA_4.1.7' not found (required by
/usr/local/samba/lib/libwbclient.so.0)
Jun  4 00:28:01 server crond[1081]: PAM adding faulty module:
/lib64/security/pam_winbind.so


Can anyone give me any pointers on how I might debug this? I am
running CentOS 6.5 and have upgraded samba numerous times before
without encountering this issue. selinux is disabled; and the
libraries do appear to be in the right place (from my limited
knowledge!). I also tried creating /etc/ld.so.conf.d/samba containing
the line "/usr/local/samba/lib" and running "ldconfig", but that
doesn't seem to have helped.

# ldconfig -v|grep winb
ldconfig: /etc/ld.so.conf.d/kernel-2.6.32-358.el6.x86_64.conf:6:
duplicate hwcap 1 nosegneg
ldconfig: /etc/ld.so.conf.d/kernel-2.6.32-431.3.1.el6.x86_64.conf:6:
duplicate hwcap 1 nosegneg
        libnss_winbind.so -> libnss_winbind.so.2
        libnss_winbind.so -> libnss_winbind.so.2
        libwinbind-client.so -> libwinbind-client.so.0

and I have

lrwxrwxrwx 1 root root    44 Jan 21 02:30
/lib64/security/pam_winbind.so ->
/usr/local/samba/lib/security/pam_winbind.so
-rwxr-xr-x 1 root root 56133 Jun  2 18:53
/usr/local/samba/lib/security/pam_winbind.so
lrwxrwxrwx 1 root root 19 Jun  4 00:06
/usr/local/samba/lib/libwbclient.so -> libwbclient.so.0.11
lrwxrwxrwx 1 root root    19 Jun  4 00:06
/usr/local/samba/lib/libwbclient.so.0 -> libwbclient.so.0.11
-rwxr-xr-x 1 root root 63989 Jun  2 18:53
/usr/local/samba/lib/libwbclient.so.0.11
-rwxr-xr-x 1 root root 14832 Jun  2 18:53
/usr/local/samba/lib/private/libwinbind-client.so

Any pointers would be appreciated.

Thanks!

Jonathan

--
"If we knew what it was we were doing, it would not be called
research, would it?"
      - Albert Einstein


More information about the samba mailing list