diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-04-11 15:34:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:51:13 -0500 |
commit | 6df152f96495e68426a52bf62be2c44900b7e8cf (patch) | |
tree | 0d1f019049171b1b63bb7f9622567ddba53789fe /source4/lib/registry/reg_backend_rpc | |
parent | 3185ace216586b6f1d676210630206bf00d5474e (diff) | |
download | samba-6df152f96495e68426a52bf62be2c44900b7e8cf.tar.gz samba-6df152f96495e68426a52bf62be2c44900b7e8cf.tar.bz2 samba-6df152f96495e68426a52bf62be2c44900b7e8cf.zip |
r164: Viewing remote registries with gregedit works now
(This used to be commit 697560a117ba19bb44539d6d63cc9143127e29d1)
Diffstat (limited to 'source4/lib/registry/reg_backend_rpc')
-rw-r--r-- | source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c b/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c index e61301d6f2..7c30302e84 100644 --- a/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c +++ b/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c @@ -47,7 +47,7 @@ static void init_winreg_String(struct winreg_String *name, const char *s) r.out.handle = hnd;\ \ if (!NT_STATUS_IS_OK(dcerpc_winreg_Open ## u(p, h->mem_ctx, &r))) {\ - printf("Error executing open\n");\ + DEBUG(0,("Error executing open\n"));\ return NULL;\ }\ \ @@ -89,7 +89,7 @@ static WERROR rpc_open_registry(REG_HANDLE *h, const char *location, const char user = talloc_strdup(h->mem_ctx, credentials); pass = strchr(user, '%'); *pass = '\0'; pass++; - + ZERO_STRUCTP(mydata); status = dcerpc_pipe_connect(&mydata->pipe, binding, |