winbindd_kill_all_clients does not seem to do that
Richard Sharpe
rsharpe at richardsharpe.com
Thu May 6 21:28:02 GMT 2004
Hi,
the winbindd_utils.c file contains the following:
void winbindd_remove_client(struct winbindd_cli_state *cli)
{
DLIST_REMOVE(_client_list, cli);
_num_clients--;
}
/* Close all open clients */
void winbindd_kill_all_clients(void)
{
struct winbindd_cli_state *cl = winbindd_client_list();
DEBUG(10, ("winbindd_kill_all_clients: going postal\n"));
while (cl) {
struct winbindd_cli_state *next;
next = cl->next;
winbindd_remove_client(cl);
cl = next;
}
}
All these routines seem to do is remove all elements of the list from the
list. They don't clean up the space occupied by the client records, nor do
that actually drop any connections etc.
Is this what is intended?
Regards
-----
Richard Sharpe, rsharpe[at]richardsharpe.com, rsharpe[at]samba.org,
sharpe[at]ethereal.com, http://www.richardsharpe.com
More information about the samba-technical
mailing list