libsmb2: Fix opening the rootdirectory, part 1
authorVolker Lendecke <vl@samba.org>
Thu, 22 Aug 2013 15:04:03 +0000 (15:04 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 23 Aug 2013 16:48:40 +0000 (09:48 -0700)
commit1927676412a5b329b9f6e5e3ec3971bc18e21b31
treed4914fc4bac3021c05a7d9454b2d16c57c1fa187
parent971b39bb103410444cfdeaa6e9684c7496a39ab3
libsmb2: Fix opening the rootdirectory, part 1

[MS-SMB2], 2.2.13 says: In the request, the Buffer field MUST be at least one
byte in length. Implement that for the 0-length filename without create blobs.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/libcli/smb2/create.c