From 3aedefccbac8b3b31831c9c27b1d1cde04c9d41f Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 26 Oct 2023 15:24:27 +0200 Subject: [PATCH] smbd: add nlinks marshalling in smb3_file_posix_information_init() Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke --- source3/smbd/smb2_posix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/smbd/smb2_posix.c b/source3/smbd/smb2_posix.c index 733854ca672..1af3812ed12 100644 --- a/source3/smbd/smb2_posix.c +++ b/source3/smbd/smb2_posix.c @@ -39,6 +39,7 @@ void smb3_file_posix_information_init( .last_access_time = unix_timespec_to_nt_time(st->st_ex_atime), .last_write_time = unix_timespec_to_nt_time(st->st_ex_mtime), .change_time = unix_timespec_to_nt_time(st->st_ex_ctime), + .cc.nlinks = st->st_ex_nlink, .cc.reparse_tag = reparse_tag, .cc.posix_perms = unix_perms_to_wire(st->st_ex_mode & ~S_IFMT), .cc.owner = global_sid_NULL, -- 2.47.3