summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/samba3rpc.c5
1 files changed, 5 insertions, 0 deletions
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)) {