Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-20-2003, 12:17 PM   #1
LQ Newbie
Registered: Apr 2003
Posts: 2

Rep: Reputation: 0
Samba Share Log


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 ?

Old 04-20-2003, 12:29 PM   #2
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
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.
Old 04-20-2003, 12:59 PM   #3
LQ Newbie
Registered: Apr 2003
Posts: 2

Original Poster
Rep: Reputation: 0
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 ( closed connection to service dc606_adm
[2003/04/17 16:16:41, 1] smbd/service.c:close_cnum(583)
fin-john ( closed connection to service genuse
[2003/04/19 10:45:31, 1] smbd/service.c:make_connection(550)
fin-john ( 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 ( 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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
Samba OS X to Linux Samba file share error ttoomey Linux - Software 1 08-16-2005 10:12 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 01:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration