summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-11 13:03:42 +0200
committerVolker Lendecke <vl@samba.org>2008-07-11 13:03:42 +0200
commite9489e9ff6c34c86eb3e2cc4b371eec4c6342ac3 (patch)
tree17e2df48ec2b35e41495f1bf815a3998f66011c2
parent1df3f24d95db599a4a0fc1c46574555c18505f00 (diff)
downloadsamba-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.c3
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,