LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-01-2012, 05:57 AM   #1
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
how to modify log of samba share


i want to get log of each and every thing of samba share dir, accessing by windows client either when they login and logout, editing, etc.by any pc, their pc ip.etc...

i know that samba log give it but i want to create my own.can any one tell me about this.
 
Old 08-02-2012, 03:59 PM   #2
John.Acker
LQ Newbie
 
Registered: Aug 2012
Location: US
Distribution: CentOS, RHEL..Other 'NIXes Solaris, HP-UX, AIX
Posts: 3

Rep: Reputation: Disabled
An option would be setting your logging to the appropriate level, and then setting the log to a different place. Both are Global variables. An example would be:
log level = 5
log file = /var/log/samba/own.log
 
Old 08-06-2012, 04:37 AM   #3
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
thanks john......but where to put this syntax in conf file
 
Old 08-06-2012, 09:13 AM   #4
John.Acker
LQ Newbie
 
Registered: Aug 2012
Location: US
Distribution: CentOS, RHEL..Other 'NIXes Solaris, HP-UX, AIX
Posts: 3

Rep: Reputation: Disabled
Both go under [General].
 
  


Reply



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
Unable to modify a directory listed under a samba share even if... SGlassman Linux - Server 5 09-19-2008 10:00 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 11:28 AM
10.2 can't modify files on windows share through SMB ajsitch SUSE / openSUSE 2 01-19-2007 08:55 AM
can't create/modify files in a samba share deadslota Linux - Newbie 4 08-07-2004 10:26 PM
Samba Share Log dustpuppy2 Linux - Newbie 2 04-20-2003 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:16 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