LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-14-2005, 04:47 PM   #1
brianbek
LQ Newbie
 
Registered: Mar 2005
Location: Nova Scotia, Canada
Distribution: Mandriva 2006
Posts: 18

Rep: Reputation: 0
Samba Activity Logging


I was just wondering if it was possible to log activity on my samba server, who opened what file, creation / deletion etc. Its setup as share level security and thats sufficent for my purposes. I've seen something like what I want using webmin, when you view all connections.

OS = Mandrake 10.1 official

Thanks!
 
Old 03-15-2005, 10:11 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
First off, with share level security, it will be impossible to determine exactly "who" did what, except for IP addresses/NETBIOS names of source machines. But there is obviously no authentication, and no user security or integrity.

If webmin does what you need, what is the question here? Or did I misunderstand you?
 
Old 03-15-2005, 08:30 PM   #3
brianbek
LQ Newbie
 
Registered: Mar 2005
Location: Nova Scotia, Canada
Distribution: Mandriva 2006
Posts: 18

Original Poster
Rep: Reputation: 0
If all I can get are Ip addresses or netbios names that would work, I'm a little new to linux so i'm learning as i go but I mentioned the way webmin displays current connections, but it does so only when I'm logged into webmin and viewing the current users; I'm just wondering if there is a way to have it log this activity to a file,

ex. when i click view connections right now it gives me output like this

PROCESS ID : 26083
SHARE :Music
Connected From :BRIAN
Connected at : Mon Mar 14 22:22:17 2005
OPEN Files: NONE /mnt/hd/server/media/mp3//IRON MAIDEN/Iron Maiden - 1992 - Fear Of The Dark/12-Fear Of The Dark.mp3 (DENY_NONE)

Even If it was a script i had to run under cron at a given time, not really looking for high security or anything.
 
Old 03-15-2005, 08:47 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
I need to figure out how Webmin gets that information. It should then be trivial to log this information.
 
  


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
Samba antivirus and logging apepost Linux - Security 6 11-18-2005 05:36 PM
Logging in [Samba] muppski Linux - Networking 1 11-11-2004 06:52 PM
logging into Samba as Root GraemeK Linux - Networking 4 01-02-2004 05:19 AM
Win XP logging into Samba asommer Linux - Software 5 03-14-2003 08:48 PM
logging in on samba antken Linux - General 1 11-03-2002 07:36 AM


All times are GMT -5. The time now is 03:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration