1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

r13388: Report a more helpful error with malformed file options of

the form //server/share (ie. remote path missing).
(This used to be commit 443677f58d4ba8d6aa2963ca5848d3e717ee2cac)
This commit is contained in:
James Peach 2006-02-08 05:14:48 +00:00 committed by Gerald (Jerry) Carter
parent b7f7adb2e1
commit 56e097e994

View File

@ -301,6 +301,11 @@ static struct dd_iohandle * open_smb_handle(const char * host,
{
struct smb_handle * smbh;
if (path == NULL || *path == '\0') {
fprintf(stderr, "%s: missing path name within share //%s/%s\n",
PROGNAME, host, share);
}
DEBUG(4, ("opening SMB stream to //%s/%s for %s\n",
host, share, path));