1
0
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:
Volker Lendecke 2024-05-13 15:44:52 +02:00 committed by Jeremy Allison
parent ecb17c12c5
commit b71f729698
2 changed files with 3 additions and 1 deletions

View File

@ -1 +0,0 @@
samba.tests.smb3unix.samba.tests.smb3unix.Smb3UnixTests.test_create_context_reparse

View File

@ -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,