[Samba] samba 3.0 vfs module problem

Mariusz Mirkiewicz samba at altech.pl
Thu Dec 11 07:52:17 GMT 2003


Hello

First I prepared mks_vir Daemon, necessary libraries and 
modules, everything work fine (I can scan files for vireses 
from the command line)

after that I had install samba from source

next I copies and modyfying necessary mks configuration file 
like /etc/samba/vscan-mks32.conf

and add to /usr/local/samba/lib/smb.conf following lines in 
global section:

vfs object = /urs/local/samba/lib/vfs/vscan-mksd.so
vscan-mks: config-file = /etc/samba/vscan-mks32.conf

When I run samba with theese lines I get following errors 
during mount probe:

 From my workstation I typed

smbmount //server/share /home/mariuszm/mount_point -o 
uid=mariuszm,password=mypassword

and I see:

... invalid share name ...

in log file is:

[2003/12/11 08:13:26, 0] smbd/service.c:make_connection_snum(581)
   vfs_init failed for service my_share
[2003/12/11 08:13:26, 0] smbd/vfs.c:vfs_init_custom(254)
   Can't find a vfs module 
[/urs/local/samba/lib/vfs/vscan-mksd.so]
[2003/12/11 08:13:26, 0] smbd/vfs.c:smbd_vfs_init(317)
   smbd_vfs_init: vfs_init_custom failed for 
/urs/local/samba/lib/vfs/vscan-mksd.so

when I remove above line from smb.conf everything works fine.

I'm sure that vscan-mksd.so file is in correct place:

[root at palm samba]# ls -l usr/local/samba/lib/vfs/vscan-mksd.so
-rwxr-xr-x    1 root     root      1008086 Nov 28 08:15 
/usr/local/samba/lib/vfs/vscan-mksd.so

How I can resolve my problem , any sugestions ?

regards

Mariusz

P.S.
I compilied samba with and without option --with-vfs, and I 
got same results




More information about the samba mailing list