svn commit: samba r15537 - in branches/SAMBA_3_0/source/rpcclient: .
jra at samba.org
jra at samba.org
Thu May 11 18:59:41 GMT 2006
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",
More information about the samba-cvs
mailing list