]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: libsmb: Info level SMB_FIND_FILE_BOTH_DIRECTORY_INFO encodes attibutes as a uint3...
authorJeremy Allison <jra@samba.org>
Mon, 1 Jun 2020 18:36:03 +0000 (11:36 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 3 Jun 2020 04:54:38 +0000 (04:54 +0000)
commit5e3e6c4c0c70e171607f4b5351bd8ec146730f08
treec01fdc02ff8c15877c4941c454c8a0dd4510a562
parent3063e1601ad9e2536651a75a47ebf4921ffddbdc
s3: libsmb: Info level SMB_FIND_FILE_BOTH_DIRECTORY_INFO encodes attibutes as a uint32, not a uint8.

Cast to a uint16_t for now after pulling the information
as finfo->mode is currently only 16 bits.

We will need this to detect FILE_ATTRIBUTE_REPARSE_POINT in a later commit.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libsmb/clilist.c