smbd/source3 or ntvfs/source4 for new VFS module development?

Zack M. Davis zdavis+samba-technical at
Wed Jan 27 00:46:31 UTC 2016

Dear list,

When developing a new VFS module, does it still make sense to put it in
source3/modules/vfs in the source repository and use the `smb_register_vfs`
API as illustrated in examples/VFS/skel_*.c? Or is it preferrable to use
the source4/ntvfs infastructure (which is newer, but ominously described as
"to a large extent [...] deprecated in terms of use for file shares" at

If the latter, is there any developer documentation on how to use the
source4/ntvfs code? (I found it pretty straightfoward to make a simple
proof-of-concept VFS module by modifying examples/VFS/skel_transparent.c
and consulting,
but I seem to be having more trouble even setting up the NTVFS server.)  I

Faithfully yours,
Zack M. Davis

More information about the samba-technical mailing list