mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
smbd: Add reparse tag to smb3_posix_cc_info
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue May 14 23:29:46 UTC 2024 on atb-devel-224
This commit is contained in:
parent
ecb17c12c5
commit
b71f729698
@ -1 +0,0 @@
|
||||
samba.tests.smb3unix.samba.tests.smb3unix.Smb3UnixTests.test_create_context_reparse
|
@ -32,6 +32,7 @@
|
||||
#include "messages.h"
|
||||
#include "lib/util_ea.h"
|
||||
#include "source3/passdb/lookup_sid.h"
|
||||
#include "source3/modules/util_reparse.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_SMB2
|
||||
@ -1696,6 +1697,8 @@ static void smbd_smb2_create_after_exec(struct tevent_req *req)
|
||||
uid_to_sid(&cc.owner, psbuf->st_ex_uid);
|
||||
gid_to_sid(&cc.group, psbuf->st_ex_gid);
|
||||
|
||||
(void)fsctl_get_reparse_tag(state->result, &cc.reparse_tag);
|
||||
|
||||
ndr_err =
|
||||
ndr_push_smb3_posix_cc_info(&ndr,
|
||||
NDR_SCALARS | NDR_BUFFERS,
|
||||
|
Loading…
Reference in New Issue
Block a user