diff options
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_use.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_use.c b/source3/rpc_client/cli_use.c index 5ae722d6ad..17458ffacd 100644 --- a/source3/rpc_client/cli_use.c +++ b/source3/rpc_client/cli_use.c @@ -114,6 +114,11 @@ static struct cli_use *cli_find(const char* srv_name, { int i; const char *sv_name = srv_name; + struct user_credentials null_usr; + + copy_user_creds(&null_usr, usr_creds); + usr_creds = &null_usr; + if (strnequal("\\\\", sv_name, 2)) { sv_name = &sv_name[2]; |