[Samba] Bug 12518 - smbclient -c 'cd <dir>; ls' for DFS generates STATUS_INVALID_PARAMETER
Michael.Tompkins at xerox.com
Thu Jan 19 14:18:47 UTC 2017
This issue is reproducible for this customer and a couple of others. We execute the smbclient command the same way for each instance. The null user name is valid syntax sent from the smbclient. When we send the command " smbclient -c 'cd <dir>; ls' ", samba code executes starting with Negotiate Protocol Request, and onward. I'm guessing this could be a DFS issue, but again, I'm not sure. Using the -D <path> command line option should result in the same execution by Samba.
From: Aurélien Aptel [mailto:aaptel at suse.com]
Sent: Thursday, January 19, 2017 8:50 AM
To: Tompkins, Michael; samba at lists.samba.org
Cc: USA Xerox Samba; Futrell, Earl
Subject: Re: [Samba] Bug 12518 - smbclient -c 'cd <dir>; ls' for DFS generates STATUS_INVALID_PARAMETER
"Tompkins, Michael via samba" <samba at lists.samba.org> writes:
> Wireshark trace gives a STATUS_INVALID_PARAMETER when running
> smbclient -c 'cd <dir>;ls' as a standalone program. This is a customer
> issue. We cannot recreate this issue so we're looking for why this may
> be happening. From the trace you'll see multiple sessions with
> smbclient, but the last one is the offending one.
The errors comes up twice in the trace, for the same reasons. It seems smbclient is trying to open the file "" (zero-length path).
Can the customer reproduce this everytime he runs the command?
Can you provide the output of the failing command with full debug messages (-d10)?
Does it also happen with "smbclient -D <dir> -c ls"?
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
More information about the samba