LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 02:27 AM   #1
gemmajid
Member
 
Registered: Mar 2012
Location: Karachi
Distribution: Ubuntu, RedHat, CentOs,
Posts: 104

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



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

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

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