smbd: Pass down "lease" to open_file_ntcreate
authorVolker Lendecke <vl@samba.org>
Wed, 21 Aug 2013 15:58:23 +0000 (15:58 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 11 Aug 2014 19:11:16 +0000 (21:11 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c

index da8dc7b456fbf0254f76ed8b747f6d50a55a4a1b..27625193fa8475b0654d31d4e311e26054c5b2b8 100644 (file)
@@ -2061,6 +2061,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
                            uint32 create_options,      /* options such as delete on close. */
                            uint32 new_dos_attributes,  /* attributes used for new file. */
                            int oplock_request,         /* internal Samba oplock codes. */
+                           struct smb2_lease *lease,
                                                        /* Information (FILE_EXISTS etc.) */
                            uint32_t private_flags,     /* Samba specific flags. */
                            int *pinfo,
@@ -3991,6 +3992,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
                                            create_options,
                                            file_attributes,
                                            oplock_request,
+                                           lease,
                                            private_flags,
                                            &info,
                                            fsp);