[PATCH] Fix smbclient against Azure SMB2 server.

Jeremy Allison jra at samba.org
Tue Jun 21 22:57:08 UTC 2016


Discovered against the Microsoft Azure SMB2 server.

Doing :

smbclient //azure/share -mSMB3
> mkdir test
> cd test
> ls
  .                                   D        0  Tue Jun 21 14:59:16 2016
  ..                                  D        0  Tue Jun 21 14:59:16 2016
Error in dskattr: NT_STATUS_OBJECT_NAME_INVALID

smbclient passes the string "\\test\\" (current directory in smbclient) to cli_smb2_dskattr().

Fix attached.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11986

Please review and push !

Cheers,

	Jeremy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-libsmb-Correctly-trim-a-trailing-character-in-cli.patch
Type: text/x-diff
Size: 1556 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160621/3241601b/0001-s3-libsmb-Correctly-trim-a-trailing-character-in-cli.diff>


More information about the samba-technical mailing list