[Samba] how to add new vfs module to build...

Ed Sutter edsutterjr at gmail.com
Mon Jan 26 15:52:29 MST 2015

On 1/24/2015 3:03 PM, Volker Lendecke wrote:
> On Sat, Jan 24, 2015 at 01:35:40PM -0500, Ed Sutter wrote:
>> Hi,
>> I'm working with version 4.1.6 to create a new VFS module.
>> I've been experimenting by just modifying one of the existing
>> module source files (vfs_full_audit.c) and that rebuilds as expected.
>> I want to step back now and create a unique module name, but
>> I'm having trouble getting it to be included in the build.
>> Using vfs_full_audit.c as my example, I've added entries into
>> source3/wscript and source3/modules/wscript_build.
>> Then I run make at the top level, but don't see my module built.
>> What am I missing here?
> default_shared_modules.extend(TO_LIST('vfs_ceph'))
> You might want to use ceph as an optional module example.
> Volker
Tried that (used vfs_ceph as the example module, to add changes to both
source3/wscript and source3/modules/wscript_build), but still no difference.
I found if I run ./configuer after this, then 'make' will rebuild the module.
Is this expected?

More information about the samba mailing list