LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba Share Log (https://www.linuxquestions.org/questions/linux-newbie-8/samba-share-log-55963/)

dustpuppy2 04-20-2003 12:17 PM

Samba Share Log
 
Hi

I've created a samba share open to all users to share files from their Win9x machines. They are free to write and delete files in this particular share. Is there any log file that shows the creation and deletion of files by user id ?

Thanks

ranger_nemo 04-20-2003 12:29 PM

Check the logs in /var/log/samba/ ... They will prob'ly be named by the computer that the user accessed the shares from, and might say in the individual files what files they accessed.

dustpuppy2 04-20-2003 12:59 PM

The logs in /var/log/samba only indicate when the user start/stop using the service. Is it because log detail is not set correcly ?

[2003/04/17 13:54:30, 1] smbd/service.c:close_cnum(583)
fin-john (192.168.0.222) closed connection to service dc606_adm
[2003/04/17 16:16:41, 1] smbd/service.c:close_cnum(583)
fin-john (192.168.0.222) closed connection to service genuse
[2003/04/19 10:45:31, 1] smbd/service.c:make_connection(550)
fin-john (192.168.0.222) connect to service genuse as user john (uid=534, gid=501) (pid 20689)
[2003/04/19 12:03:38, 1] smbd/service.c:close_cnum(583)
fin-john (192.168.0.222) closed connection to service genuse

Above is an example that I extracted out from the log file. The samba share is genuse while printer share is dc606_adm.


All times are GMT -5. The time now is 11:06 PM.