git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bug #9104 - winbindd can mis-identify idle clients - can cause crashes and NDR...
[kai/samba.git]
/
source3
/
winbindd
/
winbindd.c
diff --git
a/source3/winbindd/winbindd.c
b/source3/winbindd/winbindd.c
index 6d3fece7bd9ec74b4660c50c411a8df67eb2f23c..c43b5859e22ab44cd8240d91d660203d51325d50 100644
(file)
--- a/
source3/winbindd/winbindd.c
+++ b/
source3/winbindd/winbindd.c
@@
-923,7
+923,8
@@
static void remove_client(struct winbindd_cli_state *state)
/* Is a client idle? */
static bool client_is_idle(struct winbindd_cli_state *state) {
- return (state->response == NULL &&
+ return (state->request == NULL &&
+ state->response == NULL &&
!state->pwent_state && !state->grent_state);
}