mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Fix the build of nfs4_acls.c
This commit is contained in:
parent
9c21756f9e
commit
2abb7cd867
@ -731,7 +731,8 @@ NTSTATUS smb_set_nt_acl_nfs4(files_struct *fsp,
|
||||
need_chown = True;
|
||||
}
|
||||
if (need_chown) {
|
||||
if ((newUID == (uid_t)-1 || newUID == fsp->conn->server_info->uid)) {
|
||||
if ((newUID == (uid_t)-1
|
||||
|| newUID == fsp->conn->server_info->utok.uid)) {
|
||||
if(try_chown(fsp->conn, fsp->fsp_name, newUID, newGID)) {
|
||||
DEBUG(3,("chown %s, %u, %u failed. Error = %s.\n",
|
||||
fsp->fsp_name, (unsigned int)newUID, (unsigned int)newGID,
|
||||
|
Loading…
Reference in New Issue
Block a user