r5917: First step in using the new cli_credentials structure. This patch
[bbaumbach/samba-autobuild/.git] / source4 / lib / registry / tools / regshell.c
index ee80837babd844f3ee8a187887a80d81f30e6c85..cab2c5e34b0871d09734d530151381cf69ce6d39 100644 (file)
@@ -395,7 +395,7 @@ static char **reg_completion(const char *text, int start, int end)
     setup_logging("regtree", True);
 
        if (remote) {
-               error = reg_open_remote (&h, cmdline_get_username(), cmdline_get_userpassword(), remote); 
+               error = reg_open_remote (&h, cli_credentials_get_username(cmdline_credentials), cli_credentials_get_password(cmdline_credentials), remote); 
        } else if (backend) {
                error = reg_open_hive(NULL, backend, poptGetArg(pc), NULL, &curkey);
        } else {