summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-24 19:53:49 +0000
committerGerald Carter <jerry@samba.org>2002-07-24 19:53:49 +0000
commitf1ed55d9032200eae68fc88bfb464e653497f315 (patch)
tree7a371f4670d963803e03a0acde5fe4033fee03b7 /source3/rpc_server
parenta12ed7f506263c6ec34c7df6bbcb3e8434841403 (diff)
downloadsamba-f1ed55d9032200eae68fc88bfb464e653497f315.tar.gz
samba-f1ed55d9032200eae68fc88bfb464e653497f315.tar.bz2
samba-f1ed55d9032200eae68fc88bfb464e653497f315.zip
* fix return code so we don't let a client just open any key it wants
(even nonexistent ones). This gets rid of the Scheduling Agent icon. * fix NT_STATUS return code for bad registry path (NT_STATUS_NO_SUCH_FILE) (This used to be commit 915ee5c0ec0467fea23be8f309bcaa085c6ed9dd)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_reg_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_reg_nt.c b/source3/rpc_server/srv_reg_nt.c
index 3afb2a2c81..2154b5a38a 100644
--- a/source3/rpc_server/srv_reg_nt.c
+++ b/source3/rpc_server/srv_reg_nt.c
@@ -127,7 +127,7 @@ static NTSTATUS open_registry_key(pipes_struct *p, POLICY_HND *hnd, REGISTRY_KEY
/* don't really know what to return here */
- result = NT_STATUS_ACCESS_DENIED;
+ result = NT_STATUS_NO_SUCH_FILE;
}
else {
/*