summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-03-15 11:04:51 -0700
committerJeremy Allison <jra@samba.org>2010-03-15 14:49:11 -0700
commit6b2358e15eadf2b137b62669a813eded21aebbc7 (patch)
treecd165358c1b57d0de9ed52b84b03fb5e07263c43 /source3/modules
parent5d6610a21580a1d588465ec9f144f5a6daad57cd (diff)
downloadsamba-6b2358e15eadf2b137b62669a813eded21aebbc7.tar.gz
samba-6b2358e15eadf2b137b62669a813eded21aebbc7.tar.bz2
samba-6b2358e15eadf2b137b62669a813eded21aebbc7.zip
Pass "connection_struct *conn" into functions that currently use "current_user.XXX"
Will allow me to replace them with accessor functions. 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 658f2b4e8d..80bd65f5b8 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(SNUM(fsp->conn), &newUID, &newGID, security_info_sent, psd);
+ NTSTATUS status = unpack_nt_owners(fsp->conn, &newUID, &newGID, security_info_sent, psd);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(8, ("unpack_nt_owners failed"));
return status;