s3: libsmb: Change cli_disk_size() to use the trans2/SMB_FS_FULL_SIZE_INFORMATION...
commit9c6f1a589ff56928b077904430086062e82b0acb
authorJeremy Allison <jra@samba.org>
Wed, 4 Jun 2014 21:53:01 +0000 (4 14:53 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 7 Jun 2014 03:41:44 +0000 (7 05:41 +0200)
tree89d3fed3e9bc312a5d80a958cf0be73cb60d6419
parentd0a7d7e87ece03a63840b0f143502075d6fa5527
s3: libsmb: Change cli_disk_size() to use the trans2/SMB_FS_FULL_SIZE_INFORMATION call in preference to the old SMB1 call.

Fallback to the old CORE protocol SMBdskattr if
trans2/SMB_FS_FULL_SIZE_INFORMATION is not supported.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jun  7 05:41:44 CEST 2014 on sn-devel-104
source3/libsmb/clifile.c