1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r15537: Ignore // or \\ in //server or \\server.

Jeremy.
(This used to be commit 45cfba12cf)
This commit is contained in:
Jeremy Allison 2006-05-11 18:59:41 +00:00 committed by Gerald (Jerry) Carter
parent 4629fab3e4
commit 2dd8857dcb

View File

@ -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",