[Samba] samba 4.4rcx WINS nsswitch module
bbtombul at gmail.com
Wed Mar 23 10:12:12 UTC 2016
./configure --prefix=/usr/local/samba --fatal-errors --enable-gnutls
ln -v -fs /usr/local/samba/lib/security/pam_winbind.so
ln -v -fs /usr/local/samba/lib/security/pam_smbpass.so
ln -v -fs /usr/local/samba/lib/libnss_winbind.so.2 /lib64/
ln -v -fs /lib64/libnss_winbind.so.2 /lib64/libnss_winbind.so
ln -v -fs /usr/local/samba/lib/libnss_wins.so.2 /lib64/
ln -v -fs /lib64/libnss_wins.so.2 /lib64/libnss_wins.so
ln -v -fs /usr/local/samba/bin/net /usr/bin/net
ln -v -fs /usr/local/samba/bin/smbspool /usr/lib/cups/backend/smb
2016-03-23 11:33 GMT+02:00 Rowland penny <rpenny at samba.org>:
> On 22/03/16 12:17, barış tombul wrote:
>> I would appreciate it if you can change the host value in the
>> /etc/nsswitch.conf file from *hosts:* to *files wins dns * and try
>> again by restarting the server, since the error occurs whenever I restart
>> the server.
>> However, If I change the host value which is *hosts: * in the
>> /etc/nsswitch.conf file to *files dns wins *and restart the server
>> everything runs perfectly, when the alignment of wins and dns value is
>> reversed a problem occurs.
>> Can you try this, I do not think I'm the only one subject to this
>> Best Regards...
> OK, I have computer running Samba 4.4.0 and this in /etc/nsswitch.conf:
> hosts: files wins dns
> 'ping -c1 google.com' produces this:
> PING google.com (188.8.131.52) 56(84) bytes of data.
> 64 bytes from 184.108.40.206: icmp_seq=1 ttl=56 time=9.43 ms
> --- google.com ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 9.432/9.432/9.432/0.000 ms
> It doesn't segfault.
> Can I ask, did you compile Samba yourself ?
> If so, how did you create the libnss_wins.so.2 link ?
> 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