Author: jra Date: 2006-05-11 18:59:41 +0000 (Thu, 11 May 2006) New Revision: 15537
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15537 Log: Ignore // or \\ in //server or \\server. Jeremy. Modified: branches/SAMBA_3_0/source/rpcclient/rpcclient.c Changeset: Modified: branches/SAMBA_3_0/source/rpcclient/rpcclient.c =================================================================== --- branches/SAMBA_3_0/source/rpcclient/rpcclient.c 2006-05-11 18:59:33 UTC (rev 15536) +++ branches/SAMBA_3_0/source/rpcclient/rpcclient.c 2006-05-11 18:59:41 UTC (rev 15537) @@ -787,6 +787,11 @@ } } + 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",