diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-11 13:03:42 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-11 13:03:42 +0200 |
commit | e9489e9ff6c34c86eb3e2cc4b371eec4c6342ac3 (patch) | |
tree | 17e2df48ec2b35e41495f1bf815a3998f66011c2 | |
parent | 1df3f24d95db599a4a0fc1c46574555c18505f00 (diff) | |
download | samba-e9489e9ff6c34c86eb3e2cc4b371eec4c6342ac3.tar.gz samba-e9489e9ff6c34c86eb3e2cc4b371eec4c6342ac3.tar.bz2 samba-e9489e9ff6c34c86eb3e2cc4b371eec4c6342ac3.zip |
Fix the build of nfs4_acls.c
(This used to be commit 2abb7cd867be307e56c02087e700189b17efb894)
-rw-r--r-- | source3/modules/nfs4_acls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index 927163d7b0..dc1b70ccb7 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -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, |