Samba3 VFS: Opaque vs. Transparent.

James Peach jorgar at gmail.com
Fri Jan 11 18:27:39 GMT 2008


On 11/01/2008, Christopher R. Hertel <crh at ubiqx.mn.org> wrote:
> For those with Samba3 VFS experience:
>
> I am trying to wrap my brain around the workings of Opaque vs. Transparent
> functions.  So far, I understand that calling SMB_VFS_NEXT_XXXX() is also
> involved in the opaque/transparent question.
>
> Here's what I don't yet understand:  What effect does setting
> SMB_VFS_LAYER_TRANSPARENT

This prepends the function pointer chain of VFS operations that you
traverse using SMB_VFS_NEXT

> have on VFS function behavior.  What different
> effect does SMB_VFS_LAYER_OPAQUE have?

This resets the function pointer at the fixed end of the VFS operation
chain, ie. the chain always has a known last operation, which is set
by the most recent OPAQUE function.

-- 
James Peach | jorgar at gmail.com


More information about the samba-technical mailing list