diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-03-15 13:21:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:36 -0500 |
commit | dcd65a50a150db139a8ec9a2fec0f7fef91c19ff (patch) | |
tree | 9c37e3abbed5245a2adf70b9f9f6db3469f96123 /source4/torture | |
parent | d75526914145cd9ffcc07ac6f1d4fc99f56adb56 (diff) | |
download | samba-dcd65a50a150db139a8ec9a2fec0f7fef91c19ff.tar.gz samba-dcd65a50a150db139a8ec9a2fec0f7fef91c19ff.tar.bz2 samba-dcd65a50a150db139a8ec9a2fec0f7fef91c19ff.zip |
r21843: the computer_dn isn't needed anymore because we don't manually reset the password
anymore
metze
(This used to be commit fee2c6d13de8752b7e6c379cdf6a3f5fcb4a29a6)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/libnet/libnet_BecomeDC.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c index e69f7d92a6..827a79a0f0 100644 --- a/source4/torture/libnet/libnet_BecomeDC.c +++ b/source4/torture/libnet/libnet_BecomeDC.c @@ -118,8 +118,6 @@ struct test_become_dc_state { const char *secrets_ldb; const char *secrets_keytab; } path; - - const char *computer_dn; }; static NTSTATUS test_become_dc_check_options(void *private_data, @@ -715,17 +713,6 @@ static NTSTATUS test_become_dc_store_chunk(void *private_data, return NT_STATUS_OK; } -static NTSTATUS test_become_dc_domain_chunk(void *private_data, - const struct libnet_BecomeDC_StoreChunk *c) -{ - struct test_become_dc_state *s = talloc_get_type(private_data, struct test_become_dc_state); - - s->computer_dn = talloc_strdup(s, c->dest_dsa->computer_dn_str); - NT_STATUS_HAVE_NO_MEMORY(s->computer_dn); - - return test_become_dc_store_chunk(private_data, c); -} - BOOL torture_net_become_dc(struct torture_context *torture) { BOOL ret = True; @@ -785,7 +772,7 @@ BOOL torture_net_become_dc(struct torture_context *torture) b.in.callbacks.prepare_db = test_become_dc_prepare_db; b.in.callbacks.schema_chunk = test_become_dc_schema_chunk; b.in.callbacks.config_chunk = test_become_dc_store_chunk; - b.in.callbacks.domain_chunk = test_become_dc_domain_chunk; + b.in.callbacks.domain_chunk = test_become_dc_store_chunk; status = libnet_BecomeDC(s->ctx, s, &b); if (!NT_STATUS_IS_OK(status)) { |