[Samba] samba 4.4rcx WINS nsswitch module
abartlet at samba.org
Mon Apr 4 09:35:50 UTC 2016
On Thu, 2016-03-24 at 10:13 +0000, Rowland penny wrote:
> 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/Depe
> > ndencies_-_Libraries_and_programs
> > Rowland
> OK, so I setup a VM and installed Centos 7 on it, installed the
> as per the wiki and compiled 4.4.0. I then found I didn't have
> Compared what the wiki said to install for Centos with what I
> install for Devuan and installed the difference, recompiled again, I
> had pam_winbind.so
> Set up Samba and joined it to the domain and everything works until
> 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
> the Samba Deamons are running or not.
> All I can find that might be relevant is this:
> 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
> as I normally don't use Centos, I am giving up.
If you follow the same steps on any other OS (Debian is what I'm
interested in most), can you make it fail?
Is there a Samba version where this does work? Can you git bisect
between the two versions?
This is one of the few reported crash issues we have with 4.4 so far,
and I'm keen that we track it down. I really appricicate you
reproducing this much.
BTW, the same is in bugzilla as https://bugzilla.samba.org/show_bug.cgi?id=11775
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba