summaryrefslogtreecommitdiff
path: root/source3/libmsrpc
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-15 02:16:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:29 -0500
commitfa42d65a47d8ac35cddd485ae53e7f03a8061e88 (patch)
tree66e9cff20d8ec863f6d01e756494a468c0c8ac53 /source3/libmsrpc
parent55648eb94862421a50630818040c78841be443b4 (diff)
downloadsamba-fa42d65a47d8ac35cddd485ae53e7f03a8061e88.tar.gz
samba-fa42d65a47d8ac35cddd485ae53e7f03a8061e88.tar.bz2
samba-fa42d65a47d8ac35cddd485ae53e7f03a8061e88.zip
r14406: Disable this call until we can sort out how this
should be done correctly. Fix coverity #37. Jeremy. (This used to be commit d241f74e06eac7b61e5b7e09c2b9a955ec560fec)
Diffstat (limited to 'source3/libmsrpc')
-rw-r--r--source3/libmsrpc/cac_winreg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/libmsrpc/cac_winreg.c b/source3/libmsrpc/cac_winreg.c
index 4f6ae40808..aa847602cc 100644
--- a/source3/libmsrpc/cac_winreg.c
+++ b/source3/libmsrpc/cac_winreg.c
@@ -501,6 +501,11 @@ int cac_RegDeleteValue(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct RegDele
return CAC_SUCCESS;
}
+#if 0
+/* JRA - disabled until fix. */
+/* This code is currently broken so disable it - it needs to handle the ERROR_MORE_DATA
+ cleanly and resubmit the query. */
+
int cac_RegQueryKeyInfo(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct RegQueryKeyInfo *op) {
struct rpc_pipe_client *pipe_hnd = NULL;
WERROR err;
@@ -583,6 +588,7 @@ int cac_RegQueryKeyInfo(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct RegQue
return CAC_FAILURE;
}
+#endif
int cac_RegQueryValue(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct RegQueryValue *op) {
struct rpc_pipe_client *pipe_hnd = NULL;