1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-21 20:23:50 +03:00
Files
samba-mirror/source/nsswitch
Andrew Tridgell 8d40f34e2f be a bit more paranoid about not getting duplicate domain names (can
happen when the LDAP call to get the flatname for the primary domain
fails)
-
..

This extension provides a "wins" module for NSS on glibc2/Linux.  This
allows you to use a WINS entry in /etc/nsswitch.conf for hostname
resolution, allowing you to resolve netbios names via start unix
gethostbyname() calls. The end result is that you can use netbios
names as host names in unix apps.

1) run configure
2) run "make nsswitch"
3) cp nsswitch/libnss_wins.so /lib/libnss_wins.so.2
4) add a wins entry to the hosts line in /etc/nsswitch.conf
5) use it

tridge@linuxcare.com