mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
parent
be0ff9d809
commit
33e019a0c5
@ -688,7 +688,6 @@ static BOOL user_can_read_file(connection_struct *conn, char *name, SMB_STRUCT_S
|
||||
size_t sd_size;
|
||||
files_struct *fsp;
|
||||
int smb_action;
|
||||
int access_mode;
|
||||
NTSTATUS status;
|
||||
uint32 access_granted;
|
||||
|
||||
|
@ -1281,7 +1281,6 @@ files_struct *open_directory(connection_struct *conn, char *fname, SMB_STRUCT_ST
|
||||
files_struct *open_file_stat(connection_struct *conn, char *fname, SMB_STRUCT_STAT *psbuf)
|
||||
{
|
||||
extern struct current_user current_user;
|
||||
BOOL got_stat = False;
|
||||
files_struct *fsp = NULL;
|
||||
|
||||
if (!VALID_STAT(*psbuf))
|
||||
|
Loading…
Reference in New Issue
Block a user