From 6324a0f59f78dff6501627518824e708aa3dc257 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 17 May 2010 11:52:24 +1000 Subject: s4:provision Remove unused 'account_name' parameter The python glue code didn't even de-reference this element in the structure. Andrew Bartlett --- source4/libnet/libnet_join.c | 1 - source4/libnet/libnet_vampire.c | 1 - 2 files changed, 2 deletions(-) (limited to 'source4/libnet') diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c index 748a791279..289756c76f 100644 --- a/source4/libnet/libnet_join.c +++ b/source4/libnet/libnet_join.c @@ -944,7 +944,6 @@ static NTSTATUS libnet_Join_primary_domain(struct libnet_context *ctx, ZERO_STRUCTP(set_secrets); set_secrets->domain_name = r2->out.domain_name; set_secrets->realm = r2->out.realm; - set_secrets->account_name = account_name; set_secrets->netbios_name = netbios_name; set_secrets->secure_channel_type = r->in.join_type; set_secrets->machine_password = r2->out.join_password; diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c index a5c8a8f5d4..6d4481f977 100644 --- a/source4/libnet/libnet_vampire.c +++ b/source4/libnet/libnet_vampire.c @@ -766,7 +766,6 @@ NTSTATUS libnet_Vampire(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, ZERO_STRUCTP(set_secrets); set_secrets->domain_name = join->out.domain_name; set_secrets->realm = join->out.realm; - set_secrets->account_name = account_name; set_secrets->netbios_name = netbios_name; set_secrets->secure_channel_type = SEC_CHAN_BDC; set_secrets->machine_password = join->out.join_password; -- cgit