From e3ab0d3d67c44c2cce65d54740a71a7a99187b37 Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Sun, 21 May 2006 21:18:35 +0000 Subject: r15784: Redesign of NET-API-RPCCONNECT tests to cover more cases of usage. Right now, each level of libnet_RpcConnect can be tested with correct and incorrect credentials (testing against expected nt status). Various transports can be tested on NET-API-RPCCONN-BIND test which does testing on explicitly passed binding string. Tested services include LSA, SAMR, SRVSVC at the moment. rafal (This used to be commit e64084a39dca99915a2b6bdab175e0f5fdd571b4) --- source4/torture/libnet/libnet.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source4/torture/libnet/libnet.c') diff --git a/source4/torture/libnet/libnet.c b/source4/torture/libnet/libnet.c index d886903b2d..0632b6cdf8 100644 --- a/source4/torture/libnet/libnet.c +++ b/source4/torture/libnet/libnet.c @@ -34,7 +34,11 @@ NTSTATUS torture_net_init(void) register_torture_op("NET-API-LOOKUPPDC", torture_lookup_pdc, 0); register_torture_op("NET-API-CREATEUSER", torture_createuser, 0); register_torture_op("NET-API-DELETEUSER", torture_deleteuser, 0); - register_torture_op("NET-API-RPCCONNECT", torture_rpc_connect, 0); + register_torture_op("NET-API-RPCCONN-BIND", torture_rpc_connect_binding, 0); + register_torture_op("NET-API-RPCCONN-SRV", torture_rpc_connect_srv, 0); + register_torture_op("NET-API-RPCCONN-PDC", torture_rpc_connect_pdc, 0); + register_torture_op("NET-API-RPCCONN-DC", torture_rpc_connect_dc, 0); + register_torture_op("NET-API-RPCCONN-DCINFO", torture_rpc_connect_dc_info, 0); register_torture_op("NET-API-LISTSHARES", torture_listshares, 0); register_torture_op("NET-API-DELSHARE", torture_delshare, 0); -- cgit