]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: pass replay_operation and persistent_requested to smb2srv_open_lookup_replay_ca...
authorRalph Boehme <slow@samba.org>
Mon, 25 Aug 2025 16:47:43 +0000 (18:47 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 17 Jul 2026 10:18:37 +0000 (10:18 +0000)
Not yet used, that comes next.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/smbd/smb2_create.c
source3/smbd/smbXsrv_open.c
source3/smbd/smbXsrv_open.h

index a11c30fadbb402e02e72869ce9f867be027bf527..a975659d5ecd4f715a96f42bc667b65857d9f8f1 100644 (file)
@@ -1477,6 +1477,8 @@ static void smbd_smb2_cc_before_exec_dhc2q(struct tevent_req *req)
                                                  smb2req->session,
                                                  *state->create_guid,
                                                  state->fname,
+                                                 false,
+                                                 false,
                                                  now,
                                                  &state->persistent_id,
                                                  &state->op);
index 2567ce385da7e0ff557b22dc64d9118e2426b865..98c715a00c8fbac4aea99543e0352321db7eb3c6 100644 (file)
@@ -1145,6 +1145,8 @@ NTSTATUS smb2srv_open_lookup_replay_cache(struct smbXsrv_connection *conn,
                                          struct smbXsrv_session *session,
                                          struct GUID create_guid,
                                          const char *name,
+                                         bool replay_operation,
+                                         bool persistent_requested,
                                          NTTIME now,
                                          uint64_t *persistent_id,
                                          struct smbXsrv_open **_open)
index 881228887844590b92694272ff286e37ddd4c110..60b17f0dd2102f6ccb0b105539162d43d8ccab9b 100644 (file)
@@ -67,6 +67,8 @@ NTSTATUS smb2srv_open_lookup_replay_cache(struct smbXsrv_connection *conn,
                                          struct smbXsrv_session *session,
                                          struct GUID create_guid,
                                          const char *name,
+                                         bool replay_operation,
+                                         bool persistent_requested,
                                          NTTIME now,
                                          uint64_t *persistent_id,
                                          struct smbXsrv_open **_open);