diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-12-20 21:54:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:29:33 -0500 |
commit | 7cb96a785f6362eb3df820cfdee73bbbc9d06960 (patch) | |
tree | c76e4bb195f45e1c82d44ee010d64cbabf8943de /source4/torture | |
parent | ce38e5368ef842768ff9655cb071270ec78aac84 (diff) | |
download | samba-7cb96a785f6362eb3df820cfdee73bbbc9d06960.tar.gz samba-7cb96a785f6362eb3df820cfdee73bbbc9d06960.tar.bz2 samba-7cb96a785f6362eb3df820cfdee73bbbc9d06960.zip |
r20293: implement store chunk hook for libnet_BecomeDC()
metze
(This used to be commit aba497f2fdb79e4a61c028501d4d33a3f678ba73)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/libnet/libnet_BecomeDC.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c index 561ad622bb..fdb2cc3214 100644 --- a/source4/torture/libnet/libnet_BecomeDC.c +++ b/source4/torture/libnet/libnet_BecomeDC.c @@ -77,6 +77,15 @@ static NTSTATUS test_become_dc_prepare_db(void *private_data, return NT_STATUS_OK; } +static NTSTATUS test_become_dc_store_chunk(void *private_data, + const struct libnet_BecomeDC_StoreChunk *c) +{ + DEBUG(0,("Partition[%s]\n", + c->partition->nc.dn)); + + return NT_STATUS_OK; +} + BOOL torture_net_become_dc(struct torture_context *torture) { BOOL ret = True; @@ -110,6 +119,9 @@ BOOL torture_net_become_dc(struct torture_context *torture) b.in.callbacks.private_data = tj; b.in.callbacks.check_options = test_become_dc_check_options; b.in.callbacks.prepare_db = test_become_dc_prepare_db; + b.in.callbacks.schema_chunk = test_become_dc_store_chunk; + b.in.callbacks.config_chunk = test_become_dc_store_chunk; + b.in.callbacks.domain_chunk = test_become_dc_store_chunk; status = libnet_BecomeDC(ctx, ctx, &b); if (!NT_STATUS_IS_OK(status)) { |