1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source3/nsswitch
Christopher R. Hertel 9a872fb616 Converted to call lib/wins_srv.c:wins_srv_ip() instead of lp_wins_server()
when looking up the WINS server address.

Please *don't* use lp_wins_server() any more!

The wins_srv_ip() function has the following features:

- If the WINS server was entered as a DNS name then the translation to an
  IP address will already have taken place.  We used to do this every time
  a call to the WINS server was made.  Ick.

- The return value of wins_srv_ip() is a struct in_addr.  Ready to go.

- When WINS failover is fully implemented, you'll be able to enter a colon-
  separated list of WINS servers via the WINS SERVER parameter.  Using
  lp_wins_server() directly will fail if this syntax is used.

Chris -)-----
(This used to be commit 56be7c2a49)
2000-10-11 15:54:17 +00:00
..
pam_winbind.c in head as well ... 2000-05-10 14:17:21 +00:00
README added basic nsswitch support - this allows you to use a "wins" entry 1999-12-17 06:11:25 +00:00
wb_client.c Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS. 2000-10-11 05:45:06 +00:00
wb_common.c Adding Herb's compile warning fixes to HEAD. 2000-10-04 01:03:23 +00:00
wbinfo.c Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS. 2000-10-11 05:45:06 +00:00
winbind_nss_config.h Fixes for IRIX kernel oplocks and systems that don't have nss.h 2000-06-20 00:32:32 +00:00
winbind_nss.c - changed smb_getpwnam() to use winbind style usernames 2000-05-10 14:48:33 +00:00
winbindd_cache.c While we're all making incompatible tdb changes, I changed the implementation 2000-05-12 06:27:35 +00:00
winbindd_group.c use "winbind separator" in tng as well 2000-05-12 06:27:34 +00:00
winbindd_idmap.c While we're all making incompatible tdb changes, I changed the implementation 2000-05-12 06:27:35 +00:00
winbindd_nss.h Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS. 2000-10-11 05:45:06 +00:00
winbindd_pam.c moved secrets handling into secrets.c 2000-06-03 06:16:11 +00:00
winbindd_proto.h brought the winbindd code into head 2000-05-09 11:43:00 +00:00
winbindd_user.c use "winbind separator" in tng as well 2000-05-12 06:27:34 +00:00
winbindd_util.c Moved winbind client functions from various odd locations to 2000-07-10 05:40:43 +00:00
winbindd.c the first cut of the internal messaging system. 2000-09-11 07:02:43 +00:00
winbindd.h in head as well ... 2000-05-10 14:17:21 +00:00
wins.c Converted to call lib/wins_srv.c:wins_srv_ip() instead of lp_wins_server() 2000-10-11 15:54:17 +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