Displaying 20 results from an estimated 3000 matches similar to: "Vfs full audit trouble"
2004 Sep 11
0
Questions on VFS modules (audit)
Hello,
I'm configuring Samba 3.0.6 on Debian stable, after using version 2.2.8a
for a while.
I have some questions on VFS modules, which could be summed up into a
single big question: is there any documentation about them, other than the
few paragaphs in the official howto?
Now for the single questions:
1. audit: its output goes into syslog, no options to change this, right?
And also no
2013 Nov 05
1
4.1.0 auditing : can't get only wanted vfs operations to log
HI all,
So I'd like to log the user's operations on some shares.
As I need to know who made what when.
I'd read a previous answer from Andrew about auditing, so I can see
loggued operations.
Modified smb.conf :
> [global]
> vfs objects = dfs_samba4, acl_xattr, full_audit
> full_audit:success =none
> full_audit:failure = none
share is :
> [journal]
> path =
2005 Feb 01
1
SLES9 Module '/usr/lib/samba/vfs/audit.so' loaded, Can't find a vfs module [/usr/lib/samba/vfs/audit.so]
Any ideas why a vfs module loads successfully then can't be found?
[2005/01/30 03:52:08, 5] lib/util_seaccess.c:se_access_check(309)
se_access_check: access (2) granted.
[2005/01/30 03:52:08, 3] smbd/vfs.c:vfs_init_default(203)
Initialising default vfs hooks
[2005/01/30 03:52:08, 3] smbd/vfs.c:vfs_init_custom(229)
Initialising custom vfs hooks from [/usr/lib/samba/vfs/audit.so]
2018 May 06
0
Samba Audit Logs
Hi Rowland,
Thank you.
I tried both options. The following is using option 2
[global]
vfs objects = full_audit
[homes]
create mask = 0700
directory mask = 0700
browseable = No
read only = No
path = %H
full_audit:prefix = %u|%I|%S
full_audit:failure = none
full_audit:success = mkdir rmdir read pread write pwrite rename
unlink
2018 May 06
1
Samba Audit Logs
I think the issue is permissions related. I changed the log location to
/tmp/audit.log and now it is populating. What should be the permissions for
/var/log/samba/audit.log?
On Mon, May 7, 2018 at 12:29 AM, Robin G <robinghere3 at gmail.com> wrote:
> Hi Rowland,
>
> Thank you.
>
> I tried both options. The following is using option 2
> [global]
> vfs objects =
2018 May 06
0
Samba Audit Logs
Hi Rowland,
here is the smb.conf. All shares have the full_audit
[global]
workgroup = RESOLVS
netbios name = DC1
security = USER
obey pam restrictions = yes
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
os level = 50
####
LDAP definitions
####
### Logging
syslog = 0
log file =
2018 May 06
2
Samba Audit Logs
On Sun, 6 May 2018 20:05:20 +1000
Robin G <robinghere3 at gmail.com> wrote:
> Hi Rowland,
> here is the smb.conf. All shares have the full_audit
>
> [global]
> workgroup = RESOLVS
> netbios name = DC1
> security = USER
> obey pam restrictions = yes
> local master = yes
> domain master = yes
> preferred
2018 May 05
2
Samba Audit Logs
Hi,
My apologies if this isn't the right place to ask this question.
We have trying to setup auditing in Samba but can't seem to get it to work.
The audit log file is empty and we see some entries about file/folders in
the /var/log/samba/%m but not the actual audit bits. Can someone please
assist or point in the correct direction?
syslog = 0
log file = /var/log/samba/%m
Log level = 0
2018 May 05
2
Samba Audit Logs
On Sat, 5 May 2018 11:11:21 -0300
"Ethy H. Brito via samba" <samba at lists.samba.org> wrote:
> On Sat, 5 May 2018 23:40:47 +1000
> Robin G via samba <samba at lists.samba.org> wrote:
>
> ...
>
>
> > full_audit:prefix = %u|%I|%S
> > full_audit:failure = none
> > full_audit:success = mkdir rmdir read pread write pwrite
2010 Sep 06
0
Audit problem
Dear,
I am having the following issue
Logs generated by "realpath" enabled UPnP. How could I fix it?
Samba File:
/ Etc / samba / smb.conf
vfs objects = full_audit
full_audit: success = pwrite, rename, rmdir, unlink
full_audit: prefix =% u |% m |% I |% O
full_audit: failure = none
full_audit: facility = local7
full_audit: priority = notice
2017 Apr 28
0
Problems with the Full Audit module
> It was just a guess that it was a DC, but it was based on this:
> I was experiencing problems when I simultaneously enabled shadow_copy2 and full_audit modules.
> When enabled, problems occurred in the sysvol folder.
> So how can you be having problems in 'sysvol' if this is a domain
> member ?
> I think you should post your smb.conf.
> Rowland
As for the
2009 Mar 20
1
vfs full_audit panic
Folks,
I tried using full_audit on Samba 3.0.28 by putting the following
lines on smb.conf (global section):
vfs objects = full_audit
full_audit:facility = LOCAL2
full_audit:priority = WARN
full_audit:prefix = %u|%m|%S
full_audit:success = rename rmdir unlink write
full_audit:failure = none
My log says:
Dec 29 13:57:07 lua smbd_audit: [2008/12/29 13:57:07, 0]
lib/fault.c:fault_report(45)
Dec
2010 Nov 29
0
VFS full_audit sending spurious messages to syslog?
Hi,
I'm currently running Samba 3.0.22 (on an Ubuntu 6.06 [Dapper] server).
I have VFS full_audit set up successfully to log user activity using the
LOCAL6 facility.
I also have syslog configured to redirect all messages from this
facility to /var/log/samba/log.audit
This is working fine. However, I've recently been getting lines in
/var/log/syslog that look like they're coming
2015 Feb 11
0
Error message when set up samba audit log
Hi Samba,
I am configuring a samba on CentOS 6.6. I would like set up an full audit log on it but encounter below error message in /var/log/messages.
Do you know any reason and can you fix it for me? Thanks
[root at ndfss ~]# uname -a
Linux ndfss 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root at ndfss ~]# uname -m
x86_64
[root at ndfss ~]#
2020 Nov 05
0
No Logging for most VFS Operations with full_audit on smbd 4.9.5-Debian
Greetings,
I am running audits on a restricted file share for smbd 4.9.5-Debian. Messages go to syslog via local5. I am mostly interested in file access and modification, plus the occasional failed connect. The only operations that yield any results appear to be 'opendir' and 'open'. Unfortunately, 'open' is chatty to an extend as to render logging useless. I am getting
2007 Sep 18
0
Logging with VFS - /var/log/messages is getting to BIG.
Hi all,
I have used the vfs to log the activities of user while they're accessing
the samba share. My problem are:
1. The /var/log/messages is getting to BIG. Once in a day I move the
messages log file into another directory and below is the size of them.
-rw------- 1 root root 134357249 Sep 9 23:45 messages.2007-09-09
-rw------- 1 root root 310779718 Sep 10 23:45 messages.2007-09-10
2017 Apr 28
2
Problems with the Full Audit module
> It should work, have you tried changing the order, or just using full_audit ?
I have enabled the line below:
Vfs objects = acl_xattr
I disabled all other modules, I just left full_audit.
The problem is even when I leave only the full_audit enabled.
2010 Sep 16
0
VFS objects and mount_smbfs on Mac?
Hi all,
Is that intended to work? I have a Mac client connected to a Samba share
on a linux server (samba 3.2.0). For debugging purposes I've set up a VFS
object on my share, which shall trace the actions on the filesystem.
guest ok = yes
vfs object = full_audit
full_audit:success = all
full_audit:failure = all
full_audit:facility = LOCAL7
full_audit:priority = ALERT
and adjusted the
2016 Jul 23
0
permission problem with vfs object recycle:directory_mode
On 23/07/16 07:58, Nicolas wrote:
> Well,
>
> Despite I've recently answered about vfs object recycle on this list,
> it seems that it isn't working as excepted.
>
> Using Samba 4.4.5, compiled from sources
>
> Here is the conf for a share:
> [musique]
> path = /media/data/musique
> read only = No
> vfs objects = acl_xattr
2016 Jul 23
2
permission problem with vfs object recycle:directory_mode
Well,
Despite I've recently answered about vfs object recycle on this list,
it seems that it isn't working as excepted.
Using Samba 4.4.5, compiled from sources
Here is the conf for a share:
[musique]
path = /media/data/musique
read only = No
vfs objects = acl_xattr recycle
recycle:directory_mode = 0770
recycle:subdir_mode = 0700