LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
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
 
Old 04-20-2003, 01:29 PM   #2
ranger_nemo
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, 01:59 PM   #3
dustpuppy2
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 (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.
 
  


Reply


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 02:35 AM
Samba OS X to Linux Samba file share error ttoomey Linux - Software 1 08-16-2005 11:12 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 09:23 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 08:27 AM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 02:02 PM


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

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