s3-client: smbclient shows no error if deleting a directory with del failed
commit8c73aaec879ab2b7104575fdb1a3623d9a38141b
authorJeremy Allison <jra@samba.org>
Tue, 12 Nov 2013 23:55:51 +0000 (12 15:55 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Nov 2013 10:30:02 +0000 (22 11:30 +0100)
tree0e3c45dbf827c9a8186fa67138fb6fe5d5f37062
parentb0ce9bc6899220d921a7f520e4f92e99a7945fa8
s3-client: smbclient shows no error if deleting a directory with del failed

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

In SMB1 the server filters by attribute requested, in SMB2 there is
no attribute sent. Emulate this on the client to provide the same
ABI to callers.

In SMB1 the server returns NT_STATUS_NO_SUCH_FILE if FindFirst
finds no files. Emulate this on the client.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Nov 14 21:23:07 CET 2013 on sn-devel-104

(cherry picked from commit 4ee4a7e96e71cee27c30d23610a7f83d968a8ba0)
source3/libsmb/cli_smb2_fnum.c
source3/libsmb/cli_smb2_fnum.h
source3/libsmb/clilist.c