winbindd_kill_all_clients does not seem to do that

Richard Sharpe rsharpe at
Thu May 6 21:28:02 GMT 2004


the winbindd_utils.c file contains the following:

void winbindd_remove_client(struct winbindd_cli_state *cli)
        DLIST_REMOVE(_client_list, cli);

/* 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;
                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?

Richard Sharpe, rsharpe[at], rsharpe[at],

More information about the samba-technical mailing list