diff options
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 50ddbd405b..d306c98f79 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -787,6 +787,11 @@ out_free: } } + if ((server[0] == '/' || server[0] == '\\') && + (server[1] == '/' || server[1] == '\\')) { + server += 2; + } + nt_status = cli_full_connection(&cli, global_myname(), server, opt_ipaddr ? &server_ip : NULL, opt_port, "IPC$", "IPC", |