Lines 6480-6485
static NTSTATUS smb_set_posix_acl(connection_struct *conn,
|
Link Here
|
---|
|
6480 |
uint16 num_def_acls; |
6480 |
uint16 num_def_acls; |
6481 |
bool valid_file_acls = True; |
6481 |
bool valid_file_acls = True; |
6482 |
bool valid_def_acls = True; |
6482 |
bool valid_def_acls = True; |
|
|
6483 |
NTSTATUS status; |
6483 |
|
6484 |
|
6484 |
if (total_data < SMB_POSIX_ACL_HEADER_SIZE) { |
6485 |
if (total_data < SMB_POSIX_ACL_HEADER_SIZE) { |
6485 |
return NT_STATUS_INVALID_PARAMETER; |
6486 |
return NT_STATUS_INVALID_PARAMETER; |
Lines 6507-6512
static NTSTATUS smb_set_posix_acl(connection_struct *conn,
|
Link Here
|
---|
|
6507 |
return NT_STATUS_INVALID_PARAMETER; |
6508 |
return NT_STATUS_INVALID_PARAMETER; |
6508 |
} |
6509 |
} |
6509 |
|
6510 |
|
|
|
6511 |
status = refuse_symlink(conn, fsp, smb_fname->base_name); |
6512 |
if (!NT_STATUS_IS_OK(status)) { |
6513 |
return status; |
6514 |
} |
6515 |
|
6510 |
DEBUG(10,("smb_set_posix_acl: file %s num_file_acls = %u, num_def_acls = %u\n", |
6516 |
DEBUG(10,("smb_set_posix_acl: file %s num_file_acls = %u, num_def_acls = %u\n", |
6511 |
smb_fname ? smb_fname_str_dbg(smb_fname) : fsp_str_dbg(fsp), |
6517 |
smb_fname ? smb_fname_str_dbg(smb_fname) : fsp_str_dbg(fsp), |
6512 |
(unsigned int)num_file_acls, |
6518 |
(unsigned int)num_file_acls, |
6513 |
- |
|
|
6514 |
symlink. |
6519 |
symlink. |
6515 |
-- |
|
|
6516 |
source3/smbd/trans2.c | 7 +++++++ |
6520 |
source3/smbd/trans2.c | 7 +++++++ |
6517 |
1 file changed, 7 insertions(+) |
6521 |
1 file changed, 7 insertions(+) |