[Samba] 3.0.10 vfs problem with file_ext_map

Oliver Heinz oliver.heinz at schunk.net
Mon Dec 27 18:46:56 GMT 2004


Hi,

I'm having Problem in getting the file_ext_map 
(http://cvs.sourceforge.net/viewcvs.py/file-ext-map/file_ext_map3/file_ext_map3.c?rev=1.2) 
vfs modules running with samba 3.0.10. I'm trying the cvs-version of the 
module which was originally coded for samba 3.0.0. It compiles fine 
against current samba code, but when I try to use it samba complains 
that it can't find the vfs module.

In the file_ext_map-README I'm told to use the absoulte path with vfs 
object - which doesn't work (and it doesn't work for the standard audit 
module either). The samba vfs modules are only called by their 
(short)name - I already tried various combinations, where can I find the 
correct name, is it the name in 

return smb_register_vfs(SMB_VFS_INTERFACE_VERSION,"file_ext_map_3.0",file_ext_op_tuples);


--> file_ext_map_3.0 or is it just the file-name without ".so" ?

I tried "file_ext_map3.0", "file_ext_map", "file_ext_map3" and so on. 
None of  them work.

Any ideas or hints, how to solve this problem or how to get more Debug 
Information? I'm still not sure if samba a) doesn't find the file or b) 
just doesn't recognize it as an vfs modules.


Thanks in advance,
Oliver




Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/process.c:smb_dump(841)
Dec 27 19:36:27 spacelord smbd[28899]:   created /tmp/SMBtconX.4.req len 88
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/vfs.c:vfs_init_custom(256)
Dec 27 19:36:27 spacelord smbd[28899]:   Can't find a vfs module 
[/usr/local/samba/lib/vfs/file_ext_map.so]
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/vfs.c:smbd_vfs_init(319)
Dec 27 19:36:27 spacelord smbd[28899]:   smbd_vfs_init: vfs_init_custom 
failed for /usr/local/samba/lib/vfs/file_ext_map.so
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/service.c:make_connection_snum(517)
Dec 27 19:36:27 spacelord smbd[28899]:   vfs_init failed for service mpeg
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/process.c:smb_dump(841)
Dec 27 19:36:27 spacelord smbd[28899]:   created /tmp/SMBtconX.4.resp len 39
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/process.c:smb_dump(841)
Dec 27 19:36:27 spacelord smbd[28899]:   created /tmp/SMBtconX.5.req len 88
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/vfs.c:vfs_init_custom(256)
Dec 27 19:36:27 spacelord smbd[28899]:   Can't find a vfs module 
[/usr/local/samba/lib/vfs/file_ext_map.so]
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/vfs.c:smbd_vfs_init(319)
Dec 27 19:36:27 spacelord smbd[28899]:   smbd_vfs_init: vfs_init_custom 
failed for /usr/local/samba/lib/vfs/file_ext_map.so
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/service.c:make_connection_snum(517)
Dec 27 19:36:27 spacelord smbd[28899]:   vfs_init failed for service mpeg
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/process.c:smb_dump(841)
Dec 27 19:36:27 spacelord smbd[28899]:   created /tmp/SMBtconX.5.resp len 39
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/process.c:smb_dump(841)
Dec 27 19:36:27 spacelord smbd[28899]:   created /tmp/SMBtconX.6.req len 88
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/vfs.c:vfs_init_custom(256)
Dec 27 19:36:27 spacelord smbd[28899]:   Can't find a vfs module 
[/usr/local/samba/lib/vfs/file_ext_map.so]
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/vfs.c:smbd_vfs_init(319)
Dec 27 19:36:27 spacelord smbd[28899]:   smbd_vfs_init: vfs_init_custom 
failed for /usr/local/samba/lib/vfs/file_ext_map.so
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/service.c:make_connection_snum(517)
Dec 27 19:36:27 spacelord smbd[28899]:   vfs_init failed for service mpeg
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/process.c:smb_dump(841)
Dec 27 19:36:27 spacelord smbd[28899]:   created /tmp/SMBtconX.6.resp len 39
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/process.c:smb_dump(841)
Dec 27 19:36:27 spacelord smbd[28899]:   created /tmp/SMBtconX.7.req len 88
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/vfs.c:vfs_init_custom(256)
Dec 27 19:36:27 spacelord smbd[28899]:   Can't find a vfs module 
[/usr/local/samba/lib/vfs/file_ext_map.so]
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/vfs.c:smbd_vfs_init(319)
Dec 27 19:36:27 spacelord smbd[28899]:   smbd_vfs_init: vfs_init_custom 
failed for /usr/local/samba/lib/vfs/file_ext_map.so
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/service.c:make_connection_snum(517)
Dec 27 19:36:27 spacelord smbd[28899]:   vfs_init failed for service mpeg
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/process.c:smb_dump(841)
Dec 27 19:36:27 spacelord smbd[28899]:   created /tmp/SMBtconX.7.resp len 39
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/process.c:smb_dump(841)
Dec 27 19:36:27 spacelord smbd[28899]:   created /tmp/SMBtconX.8.req len 88
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/vfs.c:vfs_init_custom(256)
Dec 27 19:36:27 spacelord smbd[28899]:   Can't find a vfs module 
[/usr/local/samba/lib/vfs/file_ext_map.so]
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/vfs.c:smbd_vfs_init(319)
Dec 27 19:36:27 spacelord smbd[28899]:   smbd_vfs_init: vfs_init_custom 
failed for /usr/local/samba/lib/vfs/file_ext_map.so
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/service.c:make_connection_snum(517)
Dec 27 19:36:27 spacelord smbd[28899]:   vfs_init failed for service mpeg
Dec 27 19:36:27 spacelord smbd[28899]: [2004/12/27 19:36:27, 0] 
smbd/process.c:smb_dump(841)
Dec 27 19:36:27 spacelord smbd[28899]:   created /tmp/SMBtconX.8.resp len 39



More information about the samba mailing list