When Kaspersky adds the following to smb.conf I can't connect from XP. If I comment out "vfs object" connection is restored. <snip> [store-00] # ADDED BY KASPERSKY ANTI-VIRUS FOR SAMBA SERVERS 5.0 vfs object = kavsamba5-smb-3.0.2 comment = File Directories path = /store-00 browseable = yes writeable = yes valid users = frank read only = no guest ok = no </snip> Kav seems to be where it's supposed to be. /opt/kav/5.0/kavsamba/lib/kavsamba5-smb-3.0.2.so /usr/lib/samba/vfs/kavsamba5-smb-3.0.2.so I have checked all the logs & can't see anything broken, then I'm no expert. I have no idead how to use gdb, but have set logs to level 10 debug
Frank Murphy
2005-Feb-08 12:03 UTC
[Samba] Re: FC3 vfs object smb.conf samba 3.0.11 (update)
When I set debul level = 10 vfs:10 (thanks to another post) I don't use cups, it's the vfs stuff is the bother. samba was compiled\installed from samba-3.0.11-1.src.rpm <http://us4.samba.org/samba/ftp/Binary_Packages/Fedora/SRPMS/samba-3.0.11-1.src.rpm> I got the following: in smbd.log.frank-01 (the XP box) -------------------------------------------------------------------- [2005/02/08 11:42:53, 5] smbd/uid.c:change_to_root_user(296) change_to_root_user: now uid=(0,0) gid=(0,0) [2005/02/08 11:42:53, 6] param/loadparm.c:lp_file_list_changed(2698) lp_file_list_changed() file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Tue Feb 8 08:53:03 2005 file /etc/samba/smb.conf modified: Tue Feb 8 11:41:29 2005 [2005/02/08 11:42:53, 5] param/loadparm.c:free_service(2205) free_service: Freeing service IPC$ [2005/02/08 11:42:53, 5] param/loadparm.c:free_service(2205) free_service: Freeing service ADMIN$ [2005/02/08 11:42:53, 3] param/loadparm.c:lp_load(3898) lp_load: refreshing parameters [2005/02/08 11:42:53, 3] param/loadparm.c:init_globals(1314) Initialising global parameters [2005/02/08 11:42:53, 3] param/params.c:pm_process(566) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" [2005/02/08 11:42:53, 3] param/loadparm.c:do_section(3400) Processing section "[global]" doing parameter workgroup = Frank-Local doing parameter netbios name = Frank-02 [2005/02/08 11:42:53, 4] param/loadparm.c:handle_netbios_name(2745) handle_netbios_name: set global_myname to: FRANK-02 doing parameter server string = Samba Server doing parameter log file = /var/log/samba/smbd.log.%m doing parameter smb passwd file = /etc/samba/smbpasswd doing parameter socket options = TCP_NODELAY doing parameter username level = 8 doing parameter preserve case = yes doing parameter write list = frank,@frank doing parameter username map = /etc/samba/smbusers doing parameter encrypt passwords = yes doing parameter hosts allow = 192.168.0. 127. doing parameter keepalive = 60 doing parameter password level = 8 doing parameter wins support = true doing parameter writeable = yes doing parameter read only = no doing parameter browseable = yes doing parameter os level = 20 doing parameter debug level = 0 vfs:10 [2005/02/08 11:42:53, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost - Connection refused [2005/02/08 11:42:53, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost - Connection refused [2005/02/08 11:43:33, 4] smbd/vfs.c:vfs_ChDir(657) vfs_ChDir to /store-01 [2005/02/08 11:43:33, 4] smbd/vfs.c:vfs_ChDir(657) vfs_ChDir to / [2005/02/08 11:43:33, 4] smbd/vfs.c:vfs_ChDir(657) vfs_ChDir to /store-00 [2005/02/08 11:43:33, 4] smbd/vfs.c:vfs_ChDir(657) vfs_ChDir to / [2005/02/08 11:46:19, 3] smbd/vfs.c:vfs_init_default(206) Initialising default vfs hooks [2005/02/08 11:46:19, 3] smbd/vfs.c:vfs_init_custom(232) Initialising custom vfs hooks from [kavsamba5-smb-3.0.2] [2005/02/08 11:46:19, 0] smbd/vfs.c:smb_register_vfs(177) Failed to register vfs module. The module was compiled against SMB_VFS_INTERFACE_VERSION 10, current SMB_VFS_INTERFACE_VERSION is 11. Please recompile against the current Samba Version! [2005/02/08 11:46:19, 0] smbd/vfs.c:vfs_init_custom(259) Can't find a vfs module [kavsamba5-smb-3.0.2] [2005/02/08 11:46:19, 0] smbd/vfs.c:smbd_vfs_init(322) smbd_vfs_init: vfs_init_custom failed for kavsamba5-smb-3.0.2 [2005/02/08 11:46:19, 0] smbd/service.c:make_connection_snum(514) vfs_init failed for service store-00 [2005/02/08 11:46:19, 3] smbd/vfs.c:vfs_init_default(206) Initialising default vfs hooks [2005/02/08 11:46:19, 0] smbd/service.c:make_connection_snum(567) Can't become connected user!