s4:provision Remove unused 'account_name' parameter
authorAndrew Bartlett <abartlet@samba.org>
Mon, 17 May 2010 01:52:24 +0000 (11:52 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 18 May 2010 03:20:18 +0000 (13:20 +1000)
The python glue code didn't even de-reference this element in the
structure.

Andrew Bartlett

source4/libnet/libnet_join.c
source4/libnet/libnet_vampire.c
source4/param/provision.h

index 748a79127985d3c702385429f0b1398644b806e5..289756c76fe9800fad817fea3b603769a48e7af8 100644 (file)
@@ -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;
index a5c8a8f5d42bfbbbe3b020b2b9ec66436e526d76..6d4481f97742bc370b1d3972445bcf67456bfb6f 100644 (file)
@@ -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;
index b8277c358d9c64485264f4ccadedd4afd0406046..516a9dea5fa80a5b37deae4bc85917d9f82030d4 100644 (file)
@@ -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;