summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/include/smb_interfaces.h3
-rw-r--r--source4/ntvfs/simple/vfs_simple.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/source4/include/smb_interfaces.h b/source4/include/smb_interfaces.h
index 583455c9ae..14f8ecfc13 100644
--- a/source4/include/smb_interfaces.h
+++ b/source4/include/smb_interfaces.h
@@ -354,7 +354,7 @@ union smb_fileinfo {
} in;
struct {
- uint16_t attrib;
+ uint32_t attrib;
uint32_t ea_size;
uint_t num_eas;
struct ea_struct {
@@ -366,7 +366,6 @@ union smb_fileinfo {
NTTIME access_time;
NTTIME write_time;
NTTIME change_time;
- uint32_t ex_attrib;
uint64_t alloc_size;
uint64_t size;
uint32_t nlink;
diff --git a/source4/ntvfs/simple/vfs_simple.c b/source4/ntvfs/simple/vfs_simple.c
index 11840c8980..34a9c27f34 100644
--- a/source4/ntvfs/simple/vfs_simple.c
+++ b/source4/ntvfs/simple/vfs_simple.c
@@ -203,7 +203,6 @@ static NTSTATUS svfs_map_fileinfo(struct smbsrv_request *req, union smb_fileinfo
info->generic.out.num_eas = 0;
info->generic.out.fname.s = talloc_strdup(req, short_name);
info->generic.out.alt_fname.s = talloc_strdup(req, short_name);
- info->generic.out.ex_attrib = 0;
info->generic.out.compressed_size = 0;
info->generic.out.format = 0;
info->generic.out.unit_shift = 0;