From e9489e9ff6c34c86eb3e2cc4b371eec4c6342ac3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 11 Jul 2008 13:03:42 +0200 Subject: Fix the build of nfs4_acls.c (This used to be commit 2abb7cd867be307e56c02087e700189b17efb894) --- source3/modules/nfs4_acls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') 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, -- cgit