summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-17 11:52:24 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-05-18 13:20:18 +1000
commit6324a0f59f78dff6501627518824e708aa3dc257 (patch)
tree7d0c94e8da90c248bdbb9187a4ba651a2dfc0eb9 /source4/libnet
parent00b985def82acfbc4e36121d5879c1ffae2c68a3 (diff)
downloadsamba-6324a0f59f78dff6501627518824e708aa3dc257.tar.gz
samba-6324a0f59f78dff6501627518824e708aa3dc257.tar.bz2
samba-6324a0f59f78dff6501627518824e708aa3dc257.zip
s4:provision Remove unused 'account_name' parameter
The python glue code didn't even de-reference this element in the structure. Andrew Bartlett
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_join.c1
-rw-r--r--source4/libnet/libnet_vampire.c1
2 files changed, 0 insertions, 2 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;