From 8de6b7bf4f93777060b6cee8c992378bec8ae3d4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 20 Aug 2006 17:38:15 +0000 Subject: r17624: Samba3 does not yet do getprinterinfo level 6 (This used to be commit 9455b0340f634afa25a5af5ed4ea385212cf95a7) --- source4/torture/rpc/samba3rpc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 94613185dc..d21ca54ec0 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -2402,6 +2402,11 @@ BOOL torture_samba3_rpc_spoolss(struct torture_context *torture) int i; for (i=0; i<8; i++) { + if ((i == 6) && + (lp_parm_bool(-1, "target", "samba3", False))) { + /* Samba3 does not yet do level 6 */ + continue; + } status = getprinterinfo(mem_ctx, p, &printer_handle, i, NULL); if (!NT_STATUS_IS_OK(status)) { -- cgit