From: Volker Lendecke Date: Fri, 11 Jul 2008 11:03:42 +0000 (+0200) Subject: Fix the build of nfs4_acls.c X-Git-Tag: samba-3.3.0pre1~585 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2abb7cd867be307e56c02087e700189b17efb894;p=thirdparty%2Fsamba.git Fix the build of nfs4_acls.c --- diff --git a/source/modules/nfs4_acls.c b/source/modules/nfs4_acls.c index 927163d7b0f..dc1b70ccb70 100644 --- a/source/modules/nfs4_acls.c +++ b/source/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,