The Samba-Bugzilla – Attachment 9289 Details for
Bug 10195
wbinfo --lookup-sids fails with more than 129 SIDs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 868 bytes, created by
Volker Lendecke
on 2013-10-15 08:39:39 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2013-10-15 08:39:39 UTC
Size:
868 bytes
patch
obsolete
>From 003c13ff838f54a18ee2f8801846d597910bdaeb Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Tue, 15 Oct 2013 08:23:10 +0000 >Subject: [PATCH] nsswitch: Fix short writes in winbind_write_sock > >We set the socket to nonblocking and don't handle EAGAIN right. We do >a poll anyway, so wait for writability, which should fix this. >--- > nsswitch/wb_common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/nsswitch/wb_common.c b/nsswitch/wb_common.c >index dcfc8a5..9981e22 100644 >--- a/nsswitch/wb_common.c >+++ b/nsswitch/wb_common.c >@@ -392,7 +392,7 @@ static int winbind_write_sock(void *buffer, int count, int recursing, > call would not block by calling poll(). */ > > pfd.fd = winbindd_fd; >- pfd.events = POLLIN|POLLHUP; >+ pfd.events = POLLIN|POLLOUT|POLLHUP; > > ret = poll(&pfd, 1, 0); > if (ret == -1) { >-- >1.8.1.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 10195
: 9289 |
9309
|
9310
|
9311