summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-02-18 09:49:42 +0100
committerVolker Lendecke <vl@samba.org>2014-02-18 10:28:55 +0100
commite17bec101e2685f72f0b1e42289b098f09d76e9c (patch)
tree40a4168331bf04589f20473b4c149c333b06a5d3 /source4/ntvfs
parentebf00688987c79798ffa97a2f04ea36c5c08af00 (diff)
downloadsamba-e17bec101e2685f72f0b1e42289b098f09d76e9c.tar.gz
samba-e17bec101e2685f72f0b1e42289b098f09d76e9c.tar.xz
samba-e17bec101e2685f72f0b1e42289b098f09d76e9c.zip
Revert "unixuid: Use the tevent_context from the ntvfs_context"
This reverts commit 25e83a9b3e72cdb84c09ef8ada4784efd110f09a. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/unixuid/vfs_unixuid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/ntvfs/unixuid/vfs_unixuid.c b/source4/ntvfs/unixuid/vfs_unixuid.c
index 97a59591b7d..3d5c438218c 100644
--- a/source4/ntvfs/unixuid/vfs_unixuid.c
+++ b/source4/ntvfs/unixuid/vfs_unixuid.c
@@ -154,8 +154,10 @@ static NTSTATUS nt_token_to_unix_security(struct ntvfs_module_context *ntvfs,
struct security_token *token,
struct security_unix_token **sec)
{
+ struct unixuid_private *priv = ntvfs->private_data;
+
return security_token_to_unix_token(req,
- ntvfs->ctx->event_ctx,
+ priv->wbc_ctx->event_ctx,
token, sec);
}