Revert "unixuid: Use the tevent_context from the ntvfs_context"
authorVolker Lendecke <vl@samba.org>
Tue, 18 Feb 2014 08:49:42 +0000 (09:49 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 18 Feb 2014 09:28:55 +0000 (10:28 +0100)
This reverts commit 25e83a9b3e72cdb84c09ef8ada4784efd110f09a.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/ntvfs/unixuid/vfs_unixuid.c

index 97a59591b7d625ba6ac7ca9b94b83b7169222912..3d5c438218c00195f45ea914f998b64172f98bc9 100644 (file)
@@ -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);
 }