r14406: Disable this call until we can sort out how this
authorJeremy Allison <jra@samba.org>
Wed, 15 Mar 2006 02:16:14 +0000 (02:16 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:15:29 +0000 (11:15 -0500)
should be done correctly. Fix coverity #37.
Jeremy.

source/libmsrpc/cac_winreg.c

index 4f6ae408083bb7637e582880cac107e5c5a8f6c0..aa847602cc32d8d115ceabaaca5b039dbb2e6b4d 100644 (file)
@@ -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;