Bug 7309 - vfs recycle not touching deleted files with error "Function not implemented"
Summary: vfs recycle not touching deleted files with error "Function not implemented"
Status: NEW
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: VFS Modules (show other bugs)
Version: 3.5.1
Hardware: x64 Linux
: P3 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2010-03-30 11:49 UTC by Andrea Soster
Modified: 2010-04-07 10:14 UTC (History)
0 users

See Also:

debug log arounf the "Function not implemented" error (13.19 KB, text/plain)
2010-04-07 05:18 UTC, Andrea Soster
no flags Details
log of (working) samba-3.4.6 (9.62 KB, text/plain)
2010-04-07 10:14 UTC, Andrea Soster
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Soster 2010-03-30 11:49:26 UTC
I've setup samba-3.5.1 on gentoo linux (on a xen VM) and I've enabled the recycle bin, everything works as expected, but samba doesn't touch the deleted file, so I don't know when it has been deleted:
This is the error I see on the log:
  recycle: touching .recycle/admin/fatture acquisto/XPonCF/WindowsInstaller-KB893803-v2-x86.exe failed, reason = Function not implemented

my smb.conf:
	workgroup = PEDON.IT
	realm = PEDON.IT.LAN
	netbios name = Jam
	server string = Jam File Server
	log level = 3
	security = ADS
	encrypt passwords = yes
	#for windows 2003 compatibility
	client use spnego = yes
	# separate domain and username with '\', like DOMAIN\username
	#winbind separator = \
	# use uids from 10000 to 20000 for domain users
	idmap uid = 10000-20000
	# use gids from 10000 to 20000 for domain groups
	idmap gid = 10000-20000
	# allow enumeration of winbind users and groups
	winbind enum users = yes
	winbind enum groups = yes
	# don't put PEDON.IT\ in front of usernames
	winbind use default domain = yes
	#template homedir = /home/winnt/%D/%U
	#template shell = /bin/bash
	# we need wide links in public
	unix extensions = no
[Amministrazione e Finanza]
	comment = Amministrazione e Finanza
	path = /data/amministrazione_finanza
	valid users = @amministrazione
	force group = +amministrazione
	create mask = 0770
        directory mask = 0770
	read only = no
	vfs objects = recycle
	recycle:repository = .recycle/%U
	recycle:keeptree = yes
	recycle:versions = yes
	#recycle:touch = yes
	recycle:touch_mtime = yes
	# files > 100 MB e < 10 KB vengono ignorati
	recycle:maxsize = 102400000
	recycle:minsize = 10240
	recycle:exclude = *.tmp|*.obj|~$*|*.~??|*.log|*.trace

Am I missing something? (I've tried to mount the filesystem (ext3) with the noatime option and without)
Comment 1 Andrea Soster 2010-04-07 05:18:44 UTC
Created attachment 5606 [details]
debug log arounf the "Function not implemented" error

I'm experiencing the same behavior with samba 3.5.2
Comment 2 Andrea Soster 2010-04-07 10:14:14 UTC
Created attachment 5608 [details]
log of (working) samba-3.4.6

I tried to revert to samba 3.4.6 and the recycle works as expected (the file is touched) so I think that it's a regression.
Can someone confirm this?