[Samba] Unable to get recycle to work

Liz Ackerman lackerman at meritalberta.com
Mon Jul 4 16:27:57 GMT 2005


I have this one remaining issue before I can declare my Samba rollout to be
successful.  I have been trying to implement the recycle feature.  My server
is a Dell Intel, with Redhat Enterprise 3.0 Linux and Samba 3.0.14 (I
believe I have all the string and the periods in the right place).

Here is the recycle configuration I have for a share, as my test:

[contractors]
comment = Contractors database files
path = /database/contractors
writeable = yes
guest ok = yes
vfs object = /usr/lib/samba/vfs/recycle.so
vfs options = /etc/samba/recycle.conf
;recycle:repository = .deleted
;recycle:keeptree = Yes
;recycle:touch = Yes
;recycle:versions = No
create mask = 0777
directory mask = 0777
force group = everyone
oplocks = no
level2 oplocks = no
blocking locks = no
locking = no
strict locking = no
share modes = no
veto oplock files = /*.mdb/*.ldb/*.mde/

I have also tried entering the options in the smb.conf instead of using the
recycle.conf file, as you can see

Errors I get are (snipped from log file):

[2005/06/30 08:17:16, 0] smbd/nttrans.c:call_nt_transact_ioctl(1956)
  call_nt_transact_ioctl(0x9009c): Currently not implemented.
[2005/06/30 09:09:50, 0] param/loadparm.c:map_parameter(2425)
  Unknown parameter encountered: "vfs options"
[2005/06/30 09:09:50, 0] param/loadparm.c:lp_do_parameter(3159)
  Ignoring unknown parameter "vfs options"
[2005/06/30 09:11:18, 0] smbd/vfs.c:vfs_init_custom(254)
  Can't find a vfs module [/usr/lib/samba/vfs/recycle.so]
[2005/06/30 09:11:18, 0] smbd/vfs.c:smbd_vfs_init(317)
  smbd_vfs_init: vfs_init_custom failed for /usr/lib/samba/vfs/recycle.so
[2005/06/30 09:11:18, 0] smbd/service.c:make_connection_snum(581)
  vfs_init failed for service contractors
[2005/06/30 09:11:33, 0] smbd/vfs.c:smb_register_vfs(182)
  VFS module recycle already loaded!
[2005/06/30 09:11:33, 0] smbd/vfs.c:vfs_init_custom(254)
  Can't find a vfs module [/usr/lib/samba/vfs/recycle.so]
[2005/06/30 09:11:33, 0] smbd/vfs.c:smbd_vfs_init(317)
  smbd_vfs_init: vfs_init_custom failed for /usr/lib/samba/vfs/recycle.so
[2005/06/30 09:11:33, 0] smbd/service.c:make_connection_snum(581)
  vfs_init failed for service contractors
[2005/06/30 09:11:36, 0] smbd/vfs.c:smb_register_vfs(182)
  VFS module recycle already loaded!
[2005/06/30 09:11:36, 0] smbd/vfs.c:vfs_init_custom(254)
  Can't find a vfs module [/usr/lib/samba/vfs/recycle.so]
[2005/06/30 09:11:36, 0] smbd/vfs.c:smbd_vfs_init(317)
  smbd_vfs_init: vfs_init_custom failed for /usr/lib/samba/vfs/recycle.so
[2005/06/30 09:11:36, 0] smbd/service.c:make_connection_snum(581)
  vfs_init failed for service contractors
[2005/06/30 09:11:36, 0] smbd/vfs.c:smb_register_vfs(182)
  VFS module recycle already loaded!
[2005/06/30 09:11:36, 0] smbd/vfs.c:vfs_init_custom(254)
  Can't find a vfs module [/usr/lib/samba/vfs/recycle.so]
[2005/06/30 09:11:36, 0] smbd/vfs.c:smbd_vfs_init(317)
  smbd_vfs_init: vfs_init_custom failed for /usr/lib/samba/vfs/recycle.so
[2005/06/30 09:11:36, 0] smbd/service.c:make_connection_snum(581)
  vfs_init failed for service contractors
[2005/06/30 09:11:39, 0] smbd/vfs.c:smb_register_vfs(182)
  VFS module recycle already loaded!
[2005/06/30 09:11:39, 0] smbd/vfs.c:vfs_init_custom(254)
  Can't find a vfs module [/usr/lib/samba/vfs/recycle.so]
[2005/06/30 09:11:39, 0] smbd/vfs.c:smbd_vfs_init(317)
  smbd_vfs_init: vfs_init_custom failed for /usr/lib/samba/vfs/recycle.so
[2005/06/30 09:11:39, 0] smbd/service.c:make_connection_snum(581)
  vfs_init failed for service contractors
[2005/06/30 09:11:53, 0] smbd/vfs.c:smb_register_vfs(182)
  VFS module recycle already loaded!
[2005/06/30 09:11:53, 0] smbd/vfs.c:vfs_init_custom(254)
  Can't find a vfs module [/usr/lib/samba/vfs/recycle.so]
[2005/06/30 09:11:53, 0] smbd/vfs.c:smbd_vfs_init(317)
  smbd_vfs_init: vfs_init_custom failed for /usr/lib/samba/vfs/recycle.so
[2005/06/30 09:11:53, 0] smbd/service.c:make_connection_snum(581)
  vfs_init failed for service contractors
[2005/06/30 09:11:53, 0] smbd/vfs.c:smb_register_vfs(182)
  VFS module recycle already loaded!
[2005/06/30 09:11:53, 0] smbd/vfs.c:vfs_init_custom(254)
  Can't find a vfs module [/usr/lib/samba/vfs/recycle.so]
[2005/06/30 09:11:53, 0] smbd/vfs.c:smbd_vfs_init(317)
  smbd_vfs_init: vfs_init_custom failed for /usr/lib/samba/vfs/recycle.so
[2005/06/30 09:11:53, 0] smbd/service.c:make_connection_snum(581)
  vfs_init failed for service contractors
[2005/06/30 09:11:56, 0] smbd/vfs.c:smb_register_vfs(182)
  VFS module recycle already loaded!
[2005/06/30 09:11:56, 0] smbd/vfs.c:vfs_init_custom(254)
  Can't find a vfs module [/usr/lib/samba/vfs/recycle.so]
[2005/06/30 09:11:56, 0] smbd/vfs.c:smbd_vfs_init(317)
  smbd_vfs_init: vfs_init_custom failed for /usr/lib/samba/vfs/recycle.so
[2005/06/30 09:11:56, 0] smbd/service.c:make_connection_snum(581)
  vfs_init failed for service contractors
[2005/06/30 16:06:29, 1] smbd/service.c:close_cnum(880)
  001merit (192.168.0.25) closed connection to service liza
[2005/06/30 16:06:29, 1] smbd/service.c:close_cnum(880)
  001merit (192.168.0.25) closed connection to service Data

What am I missing here?

Thanks.

Liz



More information about the samba mailing list