summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-08 10:04:53 -0700
committerVolker Lendecke <vl@samba.org>2010-09-09 06:19:23 +0200
commita0de3fc690d30a8fd4b0ebc1bc35670a8ba3109d (patch)
tree86e06bb663be6bb92866c33c04c9b643570302a0 /source3/winbindd
parentbec9baf88a54d0e0d3fe1065c27df0f76c960e65 (diff)
downloadsamba-a0de3fc690d30a8fd4b0ebc1bc35670a8ba3109d.tar.gz
samba-a0de3fc690d30a8fd4b0ebc1bc35670a8ba3109d.tar.bz2
samba-a0de3fc690d30a8fd4b0ebc1bc35670a8ba3109d.zip
s3: Remove unused winbindd_dual_show_sequence()
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_domain.c4
-rw-r--r--source3/winbindd/winbindd_misc.c19
-rw-r--r--source3/winbindd/winbindd_proto.h2
3 files changed, 0 insertions, 25 deletions
diff --git a/source3/winbindd/winbindd_domain.c b/source3/winbindd/winbindd_domain.c
index d82db19adc..cd3370852b 100644
--- a/source3/winbindd/winbindd_domain.c
+++ b/source3/winbindd/winbindd_domain.c
@@ -39,10 +39,6 @@ static const struct winbindd_child_dispatch_table domain_dispatch_table[] = {
.struct_cmd = WINBINDD_INIT_CONNECTION,
.struct_fn = winbindd_dual_init_connection,
},{
- .name = "SHOW_SEQUENCE",
- .struct_cmd = WINBINDD_SHOW_SEQUENCE,
- .struct_fn = winbindd_dual_show_sequence,
- },{
.name = "PAM_AUTH",
.struct_cmd = WINBINDD_PAM_AUTH,
.struct_fn = winbindd_dual_pam_auth,
diff --git a/source3/winbindd/winbindd_misc.c b/source3/winbindd/winbindd_misc.c
index e6be28079d..84e8c3880d 100644
--- a/source3/winbindd/winbindd_misc.c
+++ b/source3/winbindd/winbindd_misc.c
@@ -209,25 +209,6 @@ enum winbindd_result winbindd_dual_list_trusted_domains(struct winbindd_domain *
return WINBINDD_OK;
}
-/* This is the child-only version of --sequence. It only allows for a single
- * domain (ie "our" one) to be displayed. */
-
-enum winbindd_result winbindd_dual_show_sequence(struct winbindd_domain *domain,
- struct winbindd_cli_state *state)
-{
- DEBUG(3, ("[%5lu]: show sequence\n", (unsigned long)state->pid));
-
- /* Ensure null termination */
- state->request->domain_name[sizeof(state->request->domain_name)-1]='\0';
-
- domain->methods->sequence_number(domain, &domain->sequence_number);
-
- state->response->data.sequence_number =
- domain->sequence_number;
-
- return WINBINDD_OK;
-}
-
struct domain_info_state {
struct winbindd_domain *domain;
struct winbindd_cli_state *cli;
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index d9b8180a58..5b33dceacc 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -343,8 +343,6 @@ void winbindd_list_trusted_domains(struct winbindd_cli_state *state);
enum winbindd_result winbindd_dual_list_trusted_domains(struct winbindd_domain *domain,
struct winbindd_cli_state *state);
void winbindd_show_sequence(struct winbindd_cli_state *state);
-enum winbindd_result winbindd_dual_show_sequence(struct winbindd_domain *domain,
- struct winbindd_cli_state *state);
void winbindd_domain_info(struct winbindd_cli_state *state);
void winbindd_ping(struct winbindd_cli_state *state);
void winbindd_info(struct winbindd_cli_state *state);