1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source3/nsswitch
Andrew Bartlett 885f4f9379 Winbind client-side cleanups.
The global winbind file descriptor can cause havoc in some situations -
particulary when it becomes 0, 1 or 2.  This patch (based on some very nice
work by Hannes Schmidt <mail@schmidt-net.via.t-online.de>) starts to recitfy
the problem by ensuring that the close-on-exec flag is set, and that we move
above 3 in the file descriptor table.

I've also decided that the PAM module can close it's pipe handle on every
request - this isn't performance-critical code.

The next step is to do the same for nss_winbind.  (But things like getent()
might get in our way there).

This also cleans up some function prototypes, puts them in just one place.

Andrew Bartlett
(This used to be commit 442eb39657)
2002-09-07 05:41:23 +00:00
..
.cvsignore Ignore winbindd_proto.h 2002-06-12 05:27:13 +00:00
hp_nss_common.h HP-UX 10.20 compiles fixes from SAMBA_2_2 2002-05-09 04:11:18 +00:00
hp_nss_dbdefs.h Removed version number from file header. 2002-01-30 06:08:46 +00:00
nss.h HP-UX 10.20 compiles fixes from SAMBA_2_2 2002-05-09 04:11:18 +00:00
pam_winbind.c Winbind client-side cleanups. 2002-09-07 05:41:23 +00:00
pam_winbind.h Winbind client-side cleanups. 2002-09-07 05:41:23 +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 Add some more const :-) 2002-08-07 07:28:24 +00:00
wb_common.c Winbind client-side cleanups. 2002-09-07 05:41:23 +00:00
wbinfo.c Winbind client-side cleanups. 2002-09-07 05:41:23 +00:00
winbind_nss_config.h Winbind client-side cleanups. 2002-09-07 05:41:23 +00:00
winbind_nss_solaris.c More winbind for HPUX updates from Don Mccall. I think JRA has already 2002-04-03 21:39:01 +00:00
winbind_nss.c Winbind client-side cleanups. 2002-09-07 05:41:23 +00:00
winbindd_ads.c Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de> 2002-09-06 11:46:59 +00:00
winbindd_cache.c This fixes a number of ADS problems, particularly with netbiosless 2002-08-05 02:47:46 +00:00
winbindd_cm.c added cli_net_auth_3 client code. 2002-08-30 10:46:59 +00:00
winbindd_dual.c this is a trick to work around the fact that posix does not supply 2002-07-14 22:15:20 +00:00
winbindd_group.c Winbind updates! 2002-07-31 12:05:30 +00:00
winbindd_idmap.c more debug classess activated 2002-06-18 09:20:13 +00:00
winbindd_misc.c more debug classess activated 2002-06-18 09:20:13 +00:00
winbindd_nss.h Winbind updates! 2002-07-31 12:05:30 +00:00
winbindd_pam.c Winbind updates! 2002-07-31 12:05:30 +00:00
winbindd_rpc.c Quietened some debugs. 2002-09-04 02:57:16 +00:00
winbindd_sid.c Winbind updates! 2002-07-31 12:05:30 +00:00
winbindd_user.c Winbind updates! 2002-07-31 12:05:30 +00:00
winbindd_util.c be a bit more paranoid about not getting duplicate domain names (can 2002-08-18 15:46:03 +00:00
winbindd_wins.c Winbind updates! 2002-07-31 12:05:30 +00:00
winbindd.c Fix typo in debug. 2002-08-27 19:43:19 +00:00
winbindd.h This fixes a number of ADS problems, particularly with netbiosless 2002-08-05 02:47:46 +00:00
wins.c Kill off codepage related stuff, now we don't use codepages any more. 2002-07-03 00:44:39 +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