Patch for VFS Example

Dustin Oprea myselfasunder at
Sat Feb 22 15:20:46 MST 2014

It looks like the "skel-opaque" VFS example needs to be fixed. I'm not sure
how this function would've ever been called (
("init_samba_module", "samba_init_module", and "init_module" seem to be the
only names that would've ever been acceptable), and the name-type literal
implies that this example was just copied from the "transparent" example.


NTSTATUS vfs_skel_transparent_init(void)
    return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "skel_transparent",


NTSTATUS init_samba_module(void)
    return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "skel_opaque",

This is probably obvious to anyone who has experience in building VFS
modules, but not so much for those of us who'd like to do a simple example.

Can I submit a patch?

Also, the *
<>* document seems to no
longer be accurate in how to configure/build VFS modules. Can it be updated
(I'd update it, but I don't see how I could), or is there a better
alternative somewhere else?


More information about the samba-technical mailing list