[Samba] samba 4.4rcx WINS nsswitch module

Rowland penny rpenny at samba.org
Thu Mar 24 10:13:05 UTC 2016


On 23/03/16 13:05, Rowland penny wrote:
> On 23/03/16 12:53, barış tombul wrote:
>> cd /usr/lib64/security
>> rm pam_smbpass.so
>> rm pam_winbind.so
>> rm /lib64/libnss_wins.so*
>> ln -s /usr/local/samba/lib/libnss_wins.so.2 /lib64/libnss_wins.so.2
>> ln -s /usr/local/samba/lib/libnss_wins.so.2 /lib64/libnss_wins.so
>> reboot
>> # ping google.com <http://google.com>
>> Segmentation fault
>>
>
> Strange, as I showed it works for me. Samba 4.4.0 is now out, do you 
> feel up to compiling this and trying ping again ?
>
> If you do, check that you have all the packages for your OS shown here:
>
> https://wiki.samba.org/index.php/Operating_system_requirements/Dependencies_-_Libraries_and_programs 
>
>
> Rowland
>

OK, so I setup a VM and installed Centos 7 on it, installed the packages 
as per the wiki and compiled 4.4.0. I then found I didn't have 
pam_winbind.so
Compared what the wiki said to install for Centos with what I normally 
install for Devuan and installed the difference, recompiled again, I now 
had pam_winbind.so

Set up Samba and joined it to the domain and everything works until you 
add the word 'wins' to the hosts line in /etc/nsswitch.conf.

I now get this:

ping -c1 google.com
Segmentation fault

I have disabled selinux, turned off the firewall, it doesn't matter if 
the Samba Deamons are running or not.

All I can find that might be relevant is this:

http://permalink.gmane.org/gmane.linux.debian.devel.systemd/8842

I cannot get valgrind or gdb to give any result, they both fail.

I am becoming more convinced that this has nothing to do with Samba and 
as I normally don't use Centos, I am giving up.

Rowland




More information about the samba mailing list