summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-20 17:38:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:17 -0500
commit8de6b7bf4f93777060b6cee8c992378bec8ae3d4 (patch)
treededd53ee6ac0107f9336cbf4eb65418a6f14f301
parent071aa999ab63d8589f50d74b9b23d198c233cc20 (diff)
downloadsamba-8de6b7bf4f93777060b6cee8c992378bec8ae3d4.tar.gz
samba-8de6b7bf4f93777060b6cee8c992378bec8ae3d4.tar.bz2
samba-8de6b7bf4f93777060b6cee8c992378bec8ae3d4.zip
r17624: Samba3 does not yet do getprinterinfo level 6
(This used to be commit 9455b0340f634afa25a5af5ed4ea385212cf95a7)
-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)) {