Tompkins, Michael
2017-Jan-19 14:18 UTC
[Samba] Bug 12518 - smbclient -c 'cd <dir>; ls' for DFS generates STATUS_INVALID_PARAMETER
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. - Mike -----Original Message----- 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)
Tompkins, Michael
2017-Jan-23 21:48 UTC
[Samba] Bug 12518 - smbclient -c 'cd <dir>; ls' for DFS generates STATUS_INVALID_PARAMETER
I'm wondering if anyone else has any feedback on this or needs anymore info ? Mike -----Original Message----- From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Tompkins, Michael via samba Sent: Thursday, January 19, 2017 9:19 AM To: Aurélien Aptel <aaptel at suse.com>; samba at lists.samba.org Cc: USA Xerox Samba <USA.Xerox.Samba at xerox.com>; Futrell, Earl <Earl.Futrell at xerox.com> Subject: Re: [Samba] Bug 12518 - smbclient -c 'cd <dir>; ls' for DFS generates STATUS_INVALID_PARAMETER 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. - Mike -----Original Message----- 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) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Aurélien Aptel
2017-Jan-24 11:27 UTC
[Samba] Bug 12518 - smbclient -c 'cd <dir>; ls' for DFS generates STATUS_INVALID_PARAMETER
"Tompkins, Michael via samba" <samba at lists.samba.org> writes:> I'm wondering if anyone else has any feedback on this or needs anymore info ?Can you provide the output of the failing command with full debug messages (-d10)? -- 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)
Maybe Matching Threads
- Bug 12518 - smbclient -c 'cd <dir>; ls' for DFS generates STATUS_INVALID_PARAMETER
- Bug 12518 - smbclient -c 'cd <dir>; ls' for DFS generates STATUS_INVALID_PARAMETER
- Bug 12518 - smbclient -c 'cd <dir>; ls' for DFS generates STATUS_INVALID_PARAMETER
- Bug 12518 - smbclient -c 'cd <dir>; ls' for DFS generates STATUS_INVALID_PARAMETER
- dfs links anywhere?