r26329: Fix more loadparm_context references. Only about a 100 left now.
[metze/samba/wip.git] / source4 / lib / registry / tools / common.c
index 6d766fd25c41e41210f0b5d6f92f2431ec5ace35..c9293cd3102811f0202521763224401ca4d80b4d 100644 (file)
 #include "lib/registry/tools/common.h"
 
 struct registry_context *reg_common_open_remote(const char *remote,
+                                               struct loadparm_context *lp_ctx,
                                                struct cli_credentials *creds)
 {
        struct registry_context *h;
        WERROR error;
 
-       error = reg_open_remote(&h, NULL, creds, remote, NULL);
+       error = reg_open_remote(&h, NULL, creds, lp_ctx, remote, NULL);
 
        if (!W_ERROR_IS_OK(error)) {
                fprintf(stderr, "Unable to open remote registry at %s:%s \n",