summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-01-19 17:15:05 +0100
committerGünther Deschner <gd@samba.org>2010-01-19 17:17:29 +0100
commitf8314c27b3804dc95c973f1577e3e40d7c91ae43 (patch)
tree7a5ac09a443b66e0ba6b3c87328cd9ca35ede93c /source4/torture
parent41a350f17e11946f4bf44de5a6d535bc6d2feccc (diff)
downloadsamba-f8314c27b3804dc95c973f1577e3e40d7c91ae43.tar.gz
samba-f8314c27b3804dc95c973f1577e3e40d7c91ae43.tar.bz2
samba-f8314c27b3804dc95c973f1577e3e40d7c91ae43.zip
s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/spoolss_notify.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c
index c6ff706374..bce85caa20 100644
--- a/source4/torture/rpc/spoolss_notify.c
+++ b/source4/torture/rpc/spoolss_notify.c
@@ -283,16 +283,6 @@ static bool test_RFFPCNEx(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx, status,
"unable to initialize DCE/RPC server");
- /* Make sure the directory for NCALRPC exists */
- if (!directory_exist(lp_ncalrpc_dir(tctx->lp_ctx))) {
- int ret;
- ret = mkdir(lp_ncalrpc_dir(tctx->lp_ctx), 0755);
- torture_assert(tctx, (ret == 0), talloc_asprintf(tctx,
- "failed to mkdir(%s) ret[%d] errno[%d - %s]",
- lp_ncalrpc_dir(tctx->lp_ctx), ret,
- errno, strerror(errno)));
- }
-
for (e=dce_ctx->endpoint_list;e;e=e->next) {
status = dcesrv_add_ep(dce_ctx, tctx->lp_ctx,
e, tctx->ev, &single_ops);