diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-06-11 15:01:07 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-06-11 17:46:34 +0300 |
commit | 8714f130e5de2738e8fd430385f236f2e360967e (patch) | |
tree | 86162b3dc152240162b3401ca756b99c5a14a849 | |
parent | 7168b1c99ffa093fd62597762aef2dfc129875fa (diff) | |
download | samba-8714f130e5de2738e8fd430385f236f2e360967e.tar.gz samba-8714f130e5de2738e8fd430385f236f2e360967e.tar.bz2 samba-8714f130e5de2738e8fd430385f236f2e360967e.zip |
s4/test-libnet: remove unused code
Pre-connecting SAMR and LSA pipes is implemented in
test_libnet_context_init() function
-rw-r--r-- | source4/torture/libnet/libnet_user.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/source4/torture/libnet/libnet_user.c b/source4/torture/libnet/libnet_user.c index 84a642a622..d9e39eb942 100644 --- a/source4/torture/libnet/libnet_user.c +++ b/source4/torture/libnet/libnet_user.c @@ -289,31 +289,6 @@ static void set_test_changes(struct torture_context *tctx, } -static bool _libnet_context_init_pipes(struct torture_context *tctx, - struct libnet_context *libnet_ctx) -{ - NTSTATUS status; - - /* connect SAMR pipe */ - status = torture_rpc_connection(tctx, - &libnet_ctx->samr.pipe, - &ndr_table_samr); - torture_assert_ntstatus_ok(tctx, status, "Failed to open SAMR pipe"); - - libnet_ctx->samr.samr_handle = libnet_ctx->samr.pipe->binding_handle; - - - /* connect LSARPC pipe */ - status = torture_rpc_connection(tctx, - &libnet_ctx->lsa.pipe, - &ndr_table_lsarpc); - torture_assert_ntstatus_ok(tctx, status, "Failed to open LSA pipe"); - - libnet_ctx->lsa.lsa_handle = libnet_ctx->lsa.pipe->binding_handle; - - return true; -} - bool torture_modifyuser(struct torture_context *torture) { NTSTATUS status; |