VFS error

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Feb 23 04:54:20 MST 2015


On Mon, Feb 23, 2015 at 11:33:43AM +0000, Sharayu Mantri wrote:
> 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

You did compile it against version 31, which is later than
what is currently installed in your system, which is version
28. You should either run a matching newer smbd or recompile
the module using the sources of the smbd you're running. The
process should be pretty similar to what you did with
VFS version 31.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list