[SCM] Samba Shared Repository - branch master updated
Günther Deschner
gd at samba.org
Mon Jun 7 03:22:28 MDT 2010
The branch, master has been updated
via e271a2b... s4-smbtorture: handle printservers w/o printers in RPC-SPOOLSS-ACCESS.
from 4591fdb... s3-privileges: use LUID defines from lsa IDL.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit e271a2b861206eef65e3c9cc14c3403579d4621a
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 7 11:21:26 2010 +0200
s4-smbtorture: handle printservers w/o printers in RPC-SPOOLSS-ACCESS.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source4/torture/rpc/spoolss_access.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/torture/rpc/spoolss_access.c b/source4/torture/rpc/spoolss_access.c
index 812a280..2bf0331 100644
--- a/source4/torture/rpc/spoolss_access.c
+++ b/source4/torture/rpc/spoolss_access.c
@@ -470,7 +470,7 @@ static bool torture_rpc_spoolss_access_setup_common(struct torture_context *tctx
test_EnumPrinters_findone(tctx, spoolss_pipe, &printername),
"failed to enumerate printers");
- if (t->user.sd) {
+ if (t->user.sd && printername) {
torture_assert(tctx,
spoolss_access_setup_sd(tctx, spoolss_pipe,
printername,
@@ -573,7 +573,7 @@ static bool torture_rpc_spoolss_access_teardown_common(struct torture_context *t
}
/* restore sd */
- if (t->user.sd) {
+ if (t->user.sd && t->printername) {
struct policy_handle handle;
struct spoolss_SetPrinterInfoCtr info_ctr;
struct spoolss_SetPrinterInfo3 info3;
--
Samba Shared Repository
More information about the samba-cvs
mailing list