Fix bug #9104 - winbindd can mis-identify idle clients - can cause crashes and NDR...
[kai/samba.git] / source3 / winbindd / winbindd.c
index 6d3fece7bd9ec74b4660c50c411a8df67eb2f23c..c43b5859e22ab44cd8240d91d660203d51325d50 100644 (file)
@@ -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);
 }