Hello everyone. I have a Samba-Server and want to know who creates or deletes files in a Samba-Connection. Is it possible to log this information? The log-files I have only contain information about opening and closing files. I would also prefer to log the IP-addresses instead of the Samba-usernames, when files are opened, closed, created or deleted. Is this possible? Thanks for your help, Patrick
Hi, we use various smb server inside a NT4 controlled domain. The clients run w2k. Now sometimes it happens that files get 'lost' drom the server... they got deleted. Other files are suddenly changed or renamed. Now we need to find out what happens with this file, maybe a virus on a client or a malicious user, .. there are quite a lot variants. Now the question, is it possible to make samba logging those events: * opening/closing of a file * renaming/moving/copying of a file * creating/deleting/changing/saving a file the requierd log output should contain * date/time * machine-name/domain-user name * filename * processed action I know that windows is able to log such events but i know either that i dont want to use a windows machine if we have a well working smb. Any ideas? regrades -jan fenner
Hei, On Wed, 17 Jul 2002 09:38:38 +0200 "Jan Fenner" <jfenner@sino.de> wrote:> Now the question, is it possible to make samba logging those events: > > * opening/closing of a file > * renaming/moving/copying of a file > * creating/deleting/changing/saving a fileI didn?t do it myself, but during sambaXP a few months ago, we heard a talk about samba vfs. That seems to be exactly what you need. http://us2.samba.org/samba/ftp/cvs_current/examples/VFS/ Goetz -- Goetz Rieger Phone: +49 2241 92917-39 SuSE Linux AG Fax: +49 2241 314599 Geschaeftsstelle Rhein-Ruhr Marie-Curie-Str. 11-17, D-53757 St. Augustin