1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

Expose smbd_check_access_rights() to other modules.

This commit is contained in:
Jeremy Allison 2011-11-04 14:37:26 -07:00
parent 32edc1d047
commit a30f84a21c
2 changed files with 4 additions and 1 deletions

View File

@ -60,7 +60,7 @@ static bool parent_override_delete(connection_struct *conn,
Check if we have open rights.
****************************************************************************/
static NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
struct smb_filename *smb_fname,
uint32_t access_mask)
{

View File

@ -580,6 +580,9 @@ void reply_nttranss(struct smb_request *req);
/* The following definitions come from smbd/open.c */
NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
struct smb_filename *smb_fname,
uint32_t access_mask);
NTSTATUS fd_close(files_struct *fsp);
void change_file_owner_to_parent(connection_struct *conn,
const char *inherit_from_dir,