I have a Windows XP machine with several Samba shares. Is it possible to obtain a log of all files that have been accessed on that machine via Samba?
If you want to do it for security purposes, you can use auditing. However, it does not log access to samba, but to a file object (regardless whether access was local or remote).
You can enable it as:
P.S. You might check Microsoft's TechNet article also. It says same thing, but with pictures. :)