Michael DePaulo
2014-Jul-19 14:42 UTC
[Gluster-users] Problem with EPEL6 samba-winbind-modules-4.1.9-2.el6.x86_64.rpm
Problem: I cannot login as a domain user after installing the samba packages with the gluster vfs module. My system: CentOS 6.5 64-bit>From /var/log/secure:Jul 19 08:52:00 nostromo sshd[1955]: PAM unable to dlopen(/lib64/security/pam_winbind.so): /lib64/security/pam_winbind.so: cannot open shared object file: No such file or directory Jul 19 08:52:00 nostromo sshd[1955]: PAM adding faulty module: /lib64/security/pam_winbind.so Jul 19 08:52:04 nostromo sshd[1956]: fatal: Access denied for user mike by PAM account configuration Analysis: It appears that samba-winbind-modules-4.1.9-2.el6.x86_64.rpm installs pam_winbind.so to: /usr/lib64/security/ instead of: /usr/lib64/ Which is where all the other pam modules are. My workaround: I worked around this problem by simply logging in as root (a local user) and creating a symlink: ln -s /usr/lib64/security/pam_winbind.so /usr/lib64/pam_winbind.so However, as a caution to others: That symlink might need to be deleted before you update to a new RPM with the fix -Mike
Michael DePaulo
2014-Aug-08 02:28 UTC
[Gluster-users] Problem with EPEL6 samba-winbind-modules-4.1.9-2.el6.x86_64.rpm
On Sat, Jul 19, 2014 at 10:42 AM, Michael DePaulo <mikedep333 at gmail.com> wrote:> Problem: > I cannot login as a domain user after installing the samba packages > with the gluster vfs module. > > My system: > CentOS 6.5 64-bit > > From /var/log/secure: > Jul 19 08:52:00 nostromo sshd[1955]: PAM unable to > dlopen(/lib64/security/pam_winbind.so): > /lib64/security/pam_winbind.so: cannot open shared object file: No > such file or directory > Jul 19 08:52:00 nostromo sshd[1955]: PAM adding faulty module: > /lib64/security/pam_winbind.so > Jul 19 08:52:04 nostromo sshd[1956]: fatal: Access denied for user > mike by PAM account configuration > > Analysis: > It appears that samba-winbind-modules-4.1.9-2.el6.x86_64.rpm installs > pam_winbind.so to: > /usr/lib64/security/ > instead of: > /usr/lib64/ > Which is where all the other pam modules are. > > My workaround: > I worked around this problem by simply logging in as root (a local > user) and creating a symlink: > ln -s /usr/lib64/security/pam_winbind.so /usr/lib64/pam_winbind.so > > However, as a caution to others: That symlink might need to be deleted > before you update to a new RPM with the fix > > -MikeBump. Should I write a bug report against gluster-smb? https://bugzilla.redhat.com/buglist.cgi?component=gluster-smb&list_id=2723616&product=GlusterFS -Mike