VFS error

Sharayu Mantri sm25541994 at gmail.com
Mon Feb 23 04:33:43 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 23 11:03:58 ubuntu smbd[4245]: [2015/02/23 11:03:58.885003, 0]
smbd/vfs.c:73(smb_register_vfs)
Feb 23 11:03:58 ubuntu smbd[4245]: *Failed to register vfs module.*
Feb 23 11:03:58 ubuntu smbd[4245]: *The module was compiled against
SMB_VFS_INTERFACE_VERSION 31,*
Feb 23 11:03:58 ubuntu smbd[4245]: *current SMB_VFS_INTERFACE_VERSION is
28.*
Feb 23 11:03:58 ubuntu smbd[4245]: *Please recompile against the current
Samba Version!*
Feb 23 11:03:58 ubuntu smbd[4245]: [2015/02/23 11:03:58.885638, 0]
lib/module.c:69(do_smb_load_module)
Feb 23 11:03:58 ubuntu smbd[4245]: Module
'/usr/local/samba/lib/vfs/vfs_demo' initialization failed:
NT_STATUS_OBJECT_TYPE_MISMATCH
Feb 23 11:03:58 ubuntu smbd[4245]: [2015/02/23 11:03:58.885911, 0]
smbd/vfs.c:173(vfs_init_custom)
Feb 23 11:03:58 ubuntu smbd[4245]: error probing vfs module
'/usr/local/samba/lib/vfs/vfs_demo': NT_STATUS_OBJECT_TYPE_MISMATCH
Feb 23 11:03:58 ubuntu smbd[4245]: [2015/02/23 11:03:58.886003, 0]
smbd/vfs.c:315(smbd_vfs_init)
Feb 23 11:03:58 ubuntu smbd[4245]: smbd_vfs_init: vfs_init_custom failed
for /usr/local/samba/lib/vfs/vfs_demo
Feb 23 11:03:58 ubuntu smbd[4245]: [2015/02/23 11:03:58.886120, 0]
smbd/service.c:869(make_connection_snum)
Feb 23 11:03:58 ubuntu smbd[4245]: vfs_init failed for service share1

share1 is my shared folder. How to i recompile againts current version

Thanks.

let me know as soon as possible.
<samba-technical at lists.samba.org>


More information about the samba-technical mailing list