1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4:provision Remove unused 'account_name' parameter

The python glue code didn't even de-reference this element in the
structure.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2010-05-17 11:52:24 +10:00
parent 00b985def8
commit 6324a0f59f
3 changed files with 0 additions and 3 deletions

View 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;

View 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;

View 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;