summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/libnet.c
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-05-21 21:18:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:19 -0500
commite3ab0d3d67c44c2cce65d54740a71a7a99187b37 (patch)
treead10432dfd4a71bf92d63eaca8a55064168d4ff4 /source4/torture/libnet/libnet.c
parent1a22d88c93b173ef4221f69d566be1e1f4797850 (diff)
downloadsamba-e3ab0d3d67c44c2cce65d54740a71a7a99187b37.tar.gz
samba-e3ab0d3d67c44c2cce65d54740a71a7a99187b37.tar.bz2
samba-e3ab0d3d67c44c2cce65d54740a71a7a99187b37.zip
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)
Diffstat (limited to 'source4/torture/libnet/libnet.c')
-rw-r--r--source4/torture/libnet/libnet.c6
1 files changed, 5 insertions, 1 deletions
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);