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: [global] 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)
Created attachment 5606 [details] debug log arounf the "Function not implemented" error I'm experiencing the same behavior with samba 3.5.2
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? thanks
possibly this was an incompatibility between your glibc and your kernel. It was that time, when the untimensat and ns resolution timestamps were coming up. Given that you had bleeding edge Gentoo, that isn't unlikely. I'm closing this as worksforme. If you still see such an error, please reopen this bug!