1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00
Andrew Bartlett 81c6415aa1 Becouse these functions return a size_t, they can't return negitive numbers.
So a < 0 check is pointless, instead check against -1, which will be cast to
unsigned.

Andrew Bartlett
(This used to be commit c7e5797a95804d5779cdfc93795adcdf2fe82a59)
2003-01-02 13:01:44 +00:00
..
2002-06-12 05:27:13 +00:00
2002-09-07 05:41:23 +00:00
2002-08-07 07:28:24 +00:00
2003-01-02 09:07:17 +00:00
2002-09-07 05:41:23 +00:00
2002-11-09 04:37:07 +00:00
2002-06-18 09:20:13 +00:00
2002-07-31 12:05:30 +00:00
2002-07-31 12:05:30 +00:00
2003-01-02 09:07:17 +00:00
2002-10-08 18:29:57 +00:00

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