LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-18-2011, 11:34 AM   #1
vivekanandan
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Rep: Reputation: 0
How to track samba users


At my office we are having a samba sever, staff will access their respective folder from their Windows XP systems. I wish to track all user access activity like file creation, modification, deletion and etc. I tried smbstatus -v, from the output I am not able to guess what the user done. I am giving some of the results I get please help me or you can suggest best way to get access log.

Samba version 3.0.25b-0.el5.4
PID Username Group Machine
-------------------------------------------------------------------
14721 govind govind tsl-019 (10.0.2.64)
4832 chandra chandra trivent-9b92c9c (10.0.2.106)

Service pid machine Connected at
-------------------------------------------------------
IPC$ 9972 tsl-042 Fri Mar 18 16:40:29 2011
MEDMGMT 9852 tsl-0012 Fri Mar 18 16:39:13 2011
Legal Mgmt 9852 tsl-0012 Fri Mar 18 16:39:20 2011
MGMT HEAD 9852 tsl-0012 Fri Mar 18 16:39:12 2011
IPC$ 9858 tsl-0012 Fri Mar 18 16:39:47 2011
Legal 9852 tsl-0012 Fri Mar 18 16:39:23 2011
Sys Admin 14721 tsl-019 Fri Mar 18 21:29:35 2011
Operations 9852 tsl-0012 Fri Mar 18 16:39:09 2011

Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
4832 564 DENY_NONE 0x2019f RDWR NONE /home/Datas/ Drafting/Clients/Jeanette/Jeanette.xls Fri Mar 18 19:09:31 2011

Regards
Vivek
 
Old 03-18-2011, 02:01 PM   #2
timetraveler
Member
 
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Rep: Reputation: 31
Might be a place to start: http://search.cpan.org/~affc/Parse-Log-Smbd-0.02/
 
Old 03-18-2011, 02:16 PM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
check this: http://www.linuxquestions.org/questi...ght=smbd_audit
 
  


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
LXer: Track Me! Just Track Me, GNOME Project! LXer Syndicated Linux News 0 03-02-2011 01:41 AM
mapping linux users with widows users using samba vathsan Linux - Software 1 07-12-2009 10:21 PM
Squid - Track Users Activities - 1 Month Log grant-skywalker Linux - Server 1 11-30-2006 11:51 AM
keep track of all the commnads fired by all users.. after shutdown once suchi_s Programming 5 11-24-2004 08:41 AM
Samba: Am I on the Right Track? azzurro Linux - Networking 4 10-02-2004 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:32 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
Open Source Consulting | Domain Registration