[Samba] samba 4.4rcx WINS nsswitch module

L.P.H. van Belle belle at bazuin.nl
Mon Apr 4 13:53:12 UTC 2016


Rowland, 

Can you try again but first upgrade libnss to libnss 3.23at least. 


Greetz, 

Louis





> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rowland penny
> Verzonden: maandag 4 april 2016 15:31
> Aan: Andrew Bartlett; samba at lists.samba.org
> Onderwerp: Re: [Samba] samba 4.4rcx WINS nsswitch module
> 
> On 04/04/16 10:35, Andrew Bartlett wrote:
> > 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
> >> 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.
> > 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
> >
> > Thanks,
> >
> > Andrew Bartlett
> >
> 
> Hi Andrew, I have updated a domain member to 4.4.0 running on Devuan
> Jessie and I cannot get 'ping' to segfault, it only happens for me on
> Centos (and presumably RHEL) 7
> I cannot say whether this will happen on Debian Jessie, as I will not
> use systemd.
> In fact it could be that systemd is the culprit here and not Samba, but
> I have no way of knowing, because *I will not use systemd*
> 
> I could not find any way to get valgrind & gdb to give up any reason why
> 'ping' fails on C7, this seems to be down to the way Centos works and I
> get the feeling that I would have to re-compile large amounts of Centos
> just to get the debug tools to work.
> 
> Rowland
> 
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba





More information about the samba mailing list