svn commit: samba r21843 - in branches/SAMBA_4_0/source/torture/libnet: .

metze at samba.org metze at samba.org
Thu Mar 15 13:21:55 GMT 2007


Author: metze
Date: 2007-03-15 13:21:54 +0000 (Thu, 15 Mar 2007)
New Revision: 21843

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21843

Log:
the computer_dn isn't needed anymore because we don't manually reset the password
anymore

metze
Modified:
   branches/SAMBA_4_0/source/torture/libnet/libnet_BecomeDC.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/libnet/libnet_BecomeDC.c
===================================================================
--- branches/SAMBA_4_0/source/torture/libnet/libnet_BecomeDC.c	2007-03-15 07:22:49 UTC (rev 21842)
+++ branches/SAMBA_4_0/source/torture/libnet/libnet_BecomeDC.c	2007-03-15 13:21:54 UTC (rev 21843)
@@ -118,8 +118,6 @@
 		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 @@
 	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 @@
 	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)) {



More information about the samba-cvs mailing list