VFS version error
Sharayu Mantri
sm25541994 at gmail.com
Thu Feb 26 04:56:19 MST 2015
Hello,
while working on samba vfs modules , i was trying to create my own
vfs_demo module. but when i try to connect to samba , Error occurs saying (
in syslog)
Feb 26 11:43:04 ubuntu smbd[21038]: Failed to register vfs module.
Feb 26 11:43:04 ubuntu smbd[21038]: The module was compiled against
SMB_VFS_INTERFACE_VERSION 31,
Feb 26 11:43:04 ubuntu smbd[21038]: current SMB_VFS_INTERFACE_VERSION is
28.
Feb 26 11:43:04 ubuntu smbd[21038]: Please recompile against the current
Samba Version!
Feb 26 11:43:04 ubuntu smbd[21038]: [2015/02/26 11:43:04.118551, 0]
lib/module.c:69(do_smb_load_module)
Feb 26 11:43:04 ubuntu smbd[21038]: Module
'/usr/local/samba/lib/vfs/vfs_demo' initialization failed:
NT_STATUS_OBJECT_TYPE_MISMATCH
Feb 26 11:43:04 ubuntu smbd[21038]: [2015/02/26 11:43:04.118784, 0]
smbd/vfs.c:173(vfs_init_custom)
Feb 26 11:43:04 ubuntu smbd[21038]: error probing vfs module
'/usr/local/samba/lib/vfs/vfs_demo': NT_STATUS_OBJECT_TYPE_MISMATCH
Feb 26 11:43:04 ubuntu smbd[21038]: [2015/02/26 11:43:04.118897, 0]
smbd/vfs.c:315(smbd_vfs_init)
Feb 26 11:43:04 ubuntu smbd[21038]: smbd_vfs_init: vfs_init_custom failed
for /usr/local/samba/lib/vfs/vfs_demo
Feb 26 11:43:04 ubuntu smbd[21038]: [2015/02/26 11:43:04.118996, 0]
smbd/service.c:869(make_connection_snum)
Feb 26 11:43:04 ubuntu smbd[21038]: vfs_init failed for service share1
I have installed samba-3.6.3 an my smbd -V version is also 3.6.3 . still
this error.
Please provide me with some steps which will help me recompile my code with
same version.
Thank you
More information about the samba-technical
mailing list