Samba3 VFS: Opaque vs. Transparent.

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

On 11/01/2008, Christopher R. Hertel <crh at> 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

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

More information about the samba-technical mailing list