LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-08-2012, 03:27 AM   #1
gemmajid
Member
 
Registered: Mar 2012
Location: Karachi
Distribution: Ubuntu, RedHat, CentOs,
Posts: 95

Rep: Reputation: Disabled
How to get separate samba log in Ubuntu 12.04


I'm using samba in Ubuntu 12.04 with audit log enabled.
the thing is that i'm getting audit.log entry in /var/log/message samba doesn't showing me audit entry in /var/log/samba/audit.log.

In my smb.conf i have the following entry in global section,

Quote:
# Audit settings
full_auditrefix = %I|%S
full_audit:failure = connect
full_audit:success = mkdir rmdir write pwrite rename unlink
full_audit:facility = local5
full_auditriority = notice
This is my individual share setting in smb.conf

Quote:
[Admin]
writeable = yes
invalid users =
path = /Admin
config-file = /etc/samba/recycle.conf
vfs object = recycle full_audit
force user = nobody
force group = nogroup
create mode = 777
recycle:versions = Yes
recycle:keeptree = Yes
recycle:repository = .recycle
directory mode = 777
& finally my recycle.conf file is

Quote:
##Recycle Bin Configuration File##
name = Recycle Bin
mode = KEEP_DIRECTORIES|VERSIONS|TOUCH
maxsize = 0
exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|*.log|*.trace|
excludedir = /tmp|/temp|/cache
exclude =
excludedir =
noversions = *.doc|*.ppt|*.dat|*.ini
 
  


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 audit log with full_audit in Ubuntu 12.04 gemmajid Linux - Newbie 4 10-16-2012 02:25 AM
Please help separate IP addresses in BIND9 query log Balvinder87 Linux - Newbie 6 07-25-2012 12:10 PM
how to separate access log of squidproxy cheesewizz Linux - Newbie 2 08-06-2009 08:33 AM
Extract SU attempts to separate log beammeup Linux - Security 4 09-01-2007 10:01 AM
Log failures to a separate file nielchiano Linux - General 0 02-17-2004 04:59 PM


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