From 0b4da9d7e069a5e32d9706ee12cde7fe7625270d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 3 Feb 2004 14:56:07 +0000 Subject: - add 'print' to the DCERPC binding strings e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel >= 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze (This used to be commit 40abf3c584efed7f977ddd688ea064540e5a5b13) --- source4/torture/rpc/atsvc.c | 2 -- source4/torture/rpc/dfs.c | 2 -- source4/torture/rpc/echo.c | 2 -- source4/torture/rpc/epmapper.c | 2 -- source4/torture/rpc/eventlog.c | 2 -- source4/torture/rpc/lsa.c | 2 -- source4/torture/rpc/netlogon.c | 2 -- source4/torture/rpc/samr.c | 2 -- source4/torture/rpc/spoolss.c | 2 -- source4/torture/rpc/srvsvc.c | 2 -- source4/torture/rpc/winreg.c | 2 -- source4/torture/rpc/wkssvc.c | 2 -- 12 files changed, 24 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/atsvc.c b/source4/torture/rpc/atsvc.c index 7d0ac42fa4..bd605d7c4f 100644 --- a/source4/torture/rpc/atsvc.c +++ b/source4/torture/rpc/atsvc.c @@ -148,8 +148,6 @@ BOOL torture_rpc_atsvc(int dummy) if (!NT_STATUS_IS_OK(status)) { return False; } - - p->flags |= DCERPC_DEBUG_PRINT_BOTH; if (!test_JobEnum(p, mem_ctx)) { return False; diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c index 7b20e044bb..940a42a947 100644 --- a/source4/torture/rpc/dfs.c +++ b/source4/torture/rpc/dfs.c @@ -180,8 +180,6 @@ BOOL torture_rpc_dfs(int dummy) return False; } - p->flags |= DCERPC_DEBUG_PRINT_BOTH; - if (!test_Exist(p, mem_ctx)) { ret = False; } diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c index be70939de1..cdae51393d 100644 --- a/source4/torture/rpc/echo.c +++ b/source4/torture/rpc/echo.c @@ -242,8 +242,6 @@ BOOL torture_rpc_echo(int dummy) } #endif - p->flags |= DCERPC_DEBUG_PRINT_BOTH; - if (!test_testcall(p, mem_ctx)) { ret = False; } diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c index 2b704659d6..24395e064c 100644 --- a/source4/torture/rpc/epmapper.c +++ b/source4/torture/rpc/epmapper.c @@ -242,8 +242,6 @@ BOOL torture_rpc_epmapper(int dummy) if (!NT_STATUS_IS_OK(status)) { return False; } - - p->flags |= DCERPC_DEBUG_PRINT_BOTH; if (!test_Lookup(p, mem_ctx)) { ret = False; diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c index 8ad1469919..1a3eb986ec 100644 --- a/source4/torture/rpc/eventlog.c +++ b/source4/torture/rpc/eventlog.c @@ -95,8 +95,6 @@ BOOL torture_rpc_eventlog(int dummy) if (!NT_STATUS_IS_OK(status)) { return False; } - - p->flags |= DCERPC_DEBUG_PRINT_BOTH; if (!test_OpenEventLog(p, mem_ctx)) { return False; diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 84b29281e5..feb7a32140 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -533,8 +533,6 @@ BOOL torture_rpc_lsa(int dummy) if (!NT_STATUS_IS_OK(status)) { return False; } - - p->flags |= DCERPC_DEBUG_PRINT_BOTH; if (!test_OpenPolicy(p, mem_ctx)) { ret = False; diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 682e28320d..12a8c8a023 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -793,8 +793,6 @@ BOOL torture_rpc_netlogon(int dummy) if (!NT_STATUS_IS_OK(status)) { return False; } - - p->flags |= DCERPC_DEBUG_PRINT_BOTH; if (!test_LogonUasLogon(p, mem_ctx)) { ret = False; diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 2f72cfe7be..fccae8412c 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -1394,8 +1394,6 @@ BOOL torture_rpc_samr(int dummy) if (!NT_STATUS_IS_OK(status)) { return False; } - - p->flags |= DCERPC_DEBUG_PRINT_BOTH; if (!test_Connect(p, mem_ctx, &handle)) { ret = False; diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 08c486f45a..e416c18f90 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -972,8 +972,6 @@ BOOL torture_rpc_spoolss(int dummy) return False; } - p->flags |= DCERPC_DEBUG_PRINT_BOTH; - if (!test_EnumPrinters(p, mem_ctx)) { ret = False; } diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c index 42a53f8567..d7f9a7004b 100644 --- a/source4/torture/rpc/srvsvc.c +++ b/source4/torture/rpc/srvsvc.c @@ -258,8 +258,6 @@ BOOL torture_rpc_srvsvc(int dummy) return False; } - p->flags |= DCERPC_DEBUG_PRINT_BOTH; - if (!test_NetConnEnum(p, mem_ctx)) { ret = False; } diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 2660fce426..e074296531 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -441,8 +441,6 @@ BOOL torture_rpc_winreg(int dummy) if (!NT_STATUS_IS_OK(status)) { return False; } - - p->flags |= DCERPC_DEBUG_PRINT_BOTH; for (i = 0; i < ARRAY_SIZE(open_fns); i++) { if (!test_Open(p, mem_ctx, open_fns[i])) diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c index 92d1063f3b..8362c02e3e 100644 --- a/source4/torture/rpc/wkssvc.c +++ b/source4/torture/rpc/wkssvc.c @@ -100,8 +100,6 @@ BOOL torture_rpc_wkssvc(int dummy) return False; } - p->flags |= DCERPC_DEBUG_PRINT_BOTH; - if (!test_NetWkstaGetInfo(p, mem_ctx)) { ret = False; } -- cgit