diff options
Diffstat (limited to 'source4/ntvfs/posix/pvfs_resolve.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_resolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_resolve.c b/source4/ntvfs/posix/pvfs_resolve.c index 0da64a790d..255728382e 100644 --- a/source4/ntvfs/posix/pvfs_resolve.c +++ b/source4/ntvfs/posix/pvfs_resolve.c @@ -524,7 +524,7 @@ NTSTATUS pvfs_resolve_name(struct pvfs_state *pvfs, } /* SMB2 doesn't allow a leading slash */ - if (req->ctx->protocol == PROTOCOL_SMB2 && + if (req->ctx->protocol >= PROTOCOL_SMB2_02 && *cifs_name == '\\') { return NT_STATUS_INVALID_PARAMETER; } |