summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-13 17:41:33 +1000
committerStefan Metzmacher <metze@samba.org>2010-05-28 18:08:28 +0200
commit8d6f88b469cea1aff0d3211f0a9dbd08e6a31497 (patch)
treedf167c231a8dfed8ae168a23b6233cfa2311d757 /source3/winbindd
parentd266f8fdf17e5583d419c2b4bd9daf30acebfd6b (diff)
downloadsamba-8d6f88b469cea1aff0d3211f0a9dbd08e6a31497.tar.gz
samba-8d6f88b469cea1aff0d3211f0a9dbd08e6a31497.tar.bz2
samba-8d6f88b469cea1aff0d3211f0a9dbd08e6a31497.zip
s3:winbind Kill amusing but un-used winbindd_kill_all_clients
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_proto.h1
-rw-r--r--source3/winbindd/winbindd_util.c17
2 files changed, 0 insertions, 18 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 6a6490f9f7..8ebbb2a842 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -424,7 +424,6 @@ int open_winbindd_priv_socket(void);
struct winbindd_cli_state *winbindd_client_list(void);
void winbindd_add_client(struct winbindd_cli_state *cli);
void winbindd_remove_client(struct winbindd_cli_state *cli);
-void winbindd_kill_all_clients(void);
int winbindd_num_clients(void);
NTSTATUS lookup_usergroups_cached(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index c808d2df37..970e599e2b 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -1101,23 +1101,6 @@ void winbindd_remove_client(struct winbindd_cli_state *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;
- }
-}
-
/* Return number of open clients */
int winbindd_num_clients(void)