Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to audit samba share

Status
Not open for further replies.
Aug 23, 2006
13
US
Hello,

I have samba 3.0.22 running on Ubuntu LTS.
It's integrated with Active Directory.
Is there a way to audit a samba share like when a user deletes or moves something on samba share, to log? Or if it logs by default, where would I look for the log? I checked /var/log/samba/ but nothing in there shows the deletion or anything, just the connections made.

My current smb.conf looks like this:
# Global parameters
[global]
workgroup = CAB
realm = CAB.HOMES.COM
server string = sam
security = ADS
lanman auth = No
client lanman auth = No
client plaintext auth = No
log file = /var/log/samba/%m.log
max log size = 50
name resolve order = wins hosts bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins server = 10.10.10.10
domain master = No
local master = No
ldap ssl = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
invalid users = root,nobody
cups options = raw

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top