summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-03-15 10:33:09 -0700
committerJeremy Allison <jra@samba.org>2010-03-15 14:48:54 -0700
commit4b85a0ea7fe036347b9fe5c725e55b043f75ccb4 (patch)
tree33c588f05e060adaf709cdbd42ee1bae86d59d32 /source3/modules
parent83b9e12513984af8b372f5558043ed0f65d832fd (diff)
downloadsamba-4b85a0ea7fe036347b9fe5c725e55b043f75ccb4.tar.gz
samba-4b85a0ea7fe036347b9fe5c725e55b043f75ccb4.tar.bz2
samba-4b85a0ea7fe036347b9fe5c725e55b043f75ccb4.zip
Rever e80ceb1d7355c8c46a2ed90d5721cf367640f4e8 "Remove more uses of "extern struct current_user current_user;"."
As requested by Volker, split this into smaller commits. Jeremy.
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/nfs4_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c
index 80bd65f5b8..658f2b4e8d 100644
--- a/source3/modules/nfs4_acls.c
+++ b/source3/modules/nfs4_acls.c
@@ -751,7 +751,7 @@ NTSTATUS smb_set_nt_acl_nfs4(files_struct *fsp,
if (params.do_chown) {
/* chown logic is a copy/paste from posix_acl.c:set_nt_acl */
- NTSTATUS status = unpack_nt_owners(fsp->conn, &newUID, &newGID, security_info_sent, psd);
+ NTSTATUS status = unpack_nt_owners(SNUM(fsp->conn), &newUID, &newGID, security_info_sent, psd);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(8, ("unpack_nt_owners failed"));
return status;