summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libnet/libnet_join.c1
-rw-r--r--source4/libnet/libnet_vampire.c1
-rw-r--r--source4/param/provision.h1
3 files changed, 0 insertions, 3 deletions
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;
diff --git a/source4/param/provision.h b/source4/param/provision.h
index b8277c358d..516a9dea5f 100644
--- a/source4/param/provision.h
+++ b/source4/param/provision.h
@@ -48,7 +48,6 @@ struct provision_store_self_join_settings {
const char *domain_name;
const char *realm;
const char *netbios_name;
- const char *account_name;
enum netr_SchannelType secure_channel_type;
const char *machine_password;
int key_version_number;