net/samba - fix zfs_space related crash

Description

PR: https://github.com/truenas/ports/pull/1167

As of 4.15 tree connect functions in VFS modules must
pass through to vfs_default.c in order for proc_fd support
to be properly initialized in struct connection_struct for
the SMB tree connect. vfs_zfs_space (a legacy VFS module)
did not pass through here and so caused ACL handling code
to hit SMB_ASSERT() that we added to catch any unexpected
internal files_struct that had wrong value set (since this
could have security implications).

Problem/Justification

None

Impact

None

Activity

Show:

Andrew Walker 
February 24, 2022 at 8:49 PM
(edited)

https://github.com/truenas/samba/pull/74
^^^ samba repo PR that corresponds with ports PR.

Complete

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Fix versions

Priority

Katalon Platform

Created February 24, 2022 at 8:48 PM
Updated August 19, 2022 at 4:42 PM
Resolved February 24, 2022 at 8:50 PM