summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-10 21:39:45 +0200
committerGünther Deschner <gd@samba.org>2009-04-24 13:38:34 +0200
commitaa26bdd71969610a4b6a5bdfdd735a1dab31a12c (patch)
tree02649a0f2afa583ac28ebe451ea1e9602a47709e
parenta263eaca499cf2b8a89c3ab04c6ef5e7e9aea396 (diff)
downloadsamba-aa26bdd71969610a4b6a5bdfdd735a1dab31a12c.tar.gz
samba-aa26bdd71969610a4b6a5bdfdd735a1dab31a12c.tar.bz2
samba-aa26bdd71969610a4b6a5bdfdd735a1dab31a12c.zip
s3-svcctl: fix _svcctl_ControlService.
Guenther
-rw-r--r--source3/rpc_server/srv_svcctl_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_svcctl_nt.c b/source3/rpc_server/srv_svcctl_nt.c
index d73f73f9ec..f88801e794 100644
--- a/source3/rpc_server/srv_svcctl_nt.c
+++ b/source3/rpc_server/srv_svcctl_nt.c
@@ -524,7 +524,7 @@ WERROR _svcctl_ControlService(pipes_struct *p,
return info->ops->service_status( info->name,
r->out.service_status );
default:
- return WERR_ACCESS_DENIED;
+ return WERR_INVALID_PARAM;
}
}