1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r17624: Samba3 does not yet do getprinterinfo level 6

(This used to be commit 9455b0340f634afa25a5af5ed4ea385212cf95a7)
This commit is contained in:
Volker Lendecke 2006-08-20 17:38:15 +00:00 committed by Gerald (Jerry) Carter
parent 071aa999ab
commit 8de6b7bf4f

View File

@ -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)) {