1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/winbindd
Michael Adam b881d2ee78 [s3]winbind: fix smbd hanging on Solaris when winbindd closes socket.
On some versions of Solaris, we observed a strange effect of close(2)
on a socket: After the server (here winbindd) called close, the client fd
was not marked as readable for select. And a write call to the fd did
not produce an error EPIPE but just returned as if successful.

So while winbindd had called remove_client(), the corresponding smbd
still thought that it was connected, but failed to retrieve answers
for its queries.

This patch works around the problem by forcing the client fd to
the readable state: Just write one byte into the socket before
closing.

Michael
2008-10-27 14:59:33 +01:00
..
idmap_adex idmap_adex: Add more debugging to the basic search function. 2008-10-06 14:10:03 -05:00
idmap_hash idmap_hash: Add the idmap/nss-info provider from Likewise Open. 2008-09-16 10:28:11 -07:00
idmap_ad.c Fix a valgrind error in idmap_ad_sids_to_unixids() 2008-10-20 21:08:20 +02:00
idmap_ldap.c Fix prototypes 2008-08-12 11:28:29 +02:00
idmap_nss.c idmap rewrite 2008-08-12 11:28:29 +02:00
idmap_passdb.c idmap rewrite 2008-08-12 11:28:29 +02:00
idmap_rid.c idmap rewrite 2008-08-12 11:28:29 +02:00
idmap_tdb2.c removed unused variables 2008-09-29 14:01:00 +02:00
idmap_tdb.c Use separate make variables for libutil and libcrypto. 2008-10-18 14:28:40 +02:00
idmap_util.c idmap: Fix typo is gid2sid() that was caching using idmap_cache_set_sid2uid() 2008-09-25 10:46:31 -07:00
idmap.c get rid of unneeded argument in get_methods and get_alloc_methods 2008-09-04 14:35:27 -07:00
nss_info_template.c winbindd: Add support for name aliasing. 2008-09-16 10:27:49 -07:00
nss_info.c winbindd: Add support for name aliasing. 2008-09-16 10:27:49 -07:00
winbindd_ads.c [s3]winbindd_ads: honour "winbind use default domain" in lookup_groupmem(). 2008-09-23 10:00:26 +02:00
winbindd_async.c [s3]winbindd: fix a comment typo 2008-09-23 10:00:25 +02:00
winbindd_cache.c winbindd: Add support for name aliasing. 2008-09-16 10:27:49 -07:00
winbindd_ccache_access.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
winbindd_cm.c s3: fix simple "incompatible pointer type" build warning 2008-10-23 16:38:19 -07:00
winbindd_cred_cache.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
winbindd_creds.c Use netr_SamInfo3 everywhere in winbindd. 2008-02-17 02:12:00 +01:00
winbindd_domain.c From Steve Danneman @ Isilon. 2008-06-26 14:02:39 -07:00
winbindd_dual.c Cope with changed signature of http_timestring(). 2008-10-11 23:57:44 +02:00
winbindd_group.c [s3]winbindd_group: don't list the domain twice when expanding internal aliases 2008-09-23 10:00:26 +02:00
winbindd_idmap.c idmap rewrite 2008-08-12 11:28:29 +02:00
winbindd_locator.c s3-winbindd: use new, richer structures in WINBINDD_DSGETDCNAME implementation. 2008-10-09 12:37:18 +02:00
winbindd_misc.c winbindd: use set_auth_errors() in winbindd_dual_check_machine_acct as well. 2008-08-25 13:18:02 +02:00
winbindd_ndr.c Split the winbindd_passdb backend into a 'builtin' and a 'sam' 2008-05-30 23:49:36 -07:00
winbindd_pam.c s3: use samba4 prototype for ndr_push/pull_struct_blob. 2008-09-23 09:37:23 +02:00
winbindd_passdb.c Revert "Split lookup_name() and create a new functiong called" 2008-09-03 14:36:43 -04:00
winbindd_proto.h Remove smb_np_struct 2008-10-13 20:59:33 +02:00
winbindd_reconnect.c Use rpccli_samr_QueryDomainInfo() in winbindd. 2008-02-06 02:09:44 +01:00
winbindd_rpc.c s3: fix various samr callers. 2008-10-15 17:11:27 +02:00
winbindd_sid.c idmap rewrite 2008-08-12 11:28:29 +02:00
winbindd_user.c winbindd: Update the calls to ws_name_XX() to reflect API changes. 2008-09-16 10:27:59 -07:00
winbindd_util.c Fix use of DLIST_REMOVE as spotted by Constantine Vetoshev <gepardcv@gmail.com>. 2008-10-01 13:15:54 -07:00
winbindd_wins.c This is a large patch (sorry). Migrate from struct in_addr 2007-10-24 14:16:54 -07:00
winbindd.c [s3]winbind: fix smbd hanging on Solaris when winbindd closes socket. 2008-10-27 14:59:33 +01:00
winbindd.h winbindd: add event based machine password change. 2008-08-23 13:19:35 +02:00