mirror of
https://github.com/samba-team/samba.git
synced 2025-11-07 12:23:51 +03:00
r2751: this is a new ntvfs design which tries to solve:
- the stacking of modules - finding the modules private data - hide the ntvfs details from the calling layer - I set NTVFS_INTERFACE_VERSION 0 till we are closer to release (because we need to solve some async problems with the module stacking) metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4233067921
commit
3ff03b5cb2
@@ -512,7 +512,7 @@ static void switch_message(int type, struct smbsrv_request *req)
|
||||
}
|
||||
|
||||
/* ipc services are limited */
|
||||
if (req->tcon && req->tcon->type == NTVFS_IPC && (flags & AS_USER) && !(flags & CAN_IPC)) {
|
||||
if (req->tcon && req->tcon->ntvfs_ctx->type == NTVFS_IPC && (flags & AS_USER) && !(flags & CAN_IPC)) {
|
||||
req_reply_error(req, NT_STATUS_ACCESS_DENIED);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user