diff options
-rw-r--r-- | source3/smbd/open.c | 2 | ||||
-rw-r--r-- | source3/smbd/proto.h | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 42edddcaf9..c26a3379cb 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -41,7 +41,7 @@ struct deferred_open_record { SMB1 file varient of se_access_check. Never test FILE_READ_ATTRIBUTES. ****************************************************************************/ -NTSTATUS smb1_file_se_access_check(struct connection_struct *conn, +static NTSTATUS smb1_file_se_access_check(struct connection_struct *conn, const struct security_descriptor *sd, const struct security_token *token, uint32_t access_desired, diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 343b0b916e..f6d543972f 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -580,11 +580,6 @@ void reply_nttranss(struct smb_request *req); /* The following definitions come from smbd/open.c */ -NTSTATUS smb1_file_se_access_check(connection_struct *conn, - const struct security_descriptor *sd, - const struct security_token *token, - uint32_t access_desired, - uint32_t *access_granted); NTSTATUS fd_close(files_struct *fsp); void change_file_owner_to_parent(connection_struct *conn, const char *inherit_from_dir, |