[Samba] Logging
Fabrizio Rompani
fabrizio.rompani at yetopen.com
Mon Mar 17 11:34:48 UTC 2025
thank's ,Roland.
I 'though vfs_objects was adding .
Now understand some more.
rf
----- Messaggio originale -----
Da: "Rowland Penny via samba" <samba at lists.samba.org>
A: "samba" <samba at lists.samba.org>
Cc: "Rowland Penny" <rpenny at samba.org>
Inviato: Giovedì, 13 marzo 2025 13:03:25
Oggetto: Re: [Samba] Logging
On Thu, 13 Mar 2025 12:22:39 +0100 (CET)
Fabrizio Rompani via samba <samba at lists.samba.org> wrote:
> hi all .
> in a samba fileserver ( joined to a samba domain ) , I'd like to log
> in to a specific file , some operation with username and ip address.
> my conf file are below. I don't have the expected result : log is
> full of ( it seems to me ) debug info , and not all my requested info
> (eg ip address ) Any suggestion on how to properly setup logging?
> also : in the bolded line below : it seems to me it is impossible a
> user has opened and closed the file in the same exacly time : what
> that would mean?
First, can I suggest you open a terminal and type 'man smb.conf' then
read the output, particularly the part under 'log level', that will
explain how you can set up logging better.
Now coming to your smb.conf, you have this line in 'global':
vfs objects = acl_xattr
Then this one (again in global):
vfs objects = full_audit
The second one replaces the first one, it does not add to it.
Or to put it another way, you are not using ACLs
You then have this line in cestino.conf (which is added to your
'condivisioni' share):
vfs objects = recycle acl_xattr
This turns on 'recycle' and 'acl_xattr' and turns off 'full_audit', but
only for that share.
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
YetOpen SB
Corso Martiri della Liberazione 114 - 23900 Lecco - ITALY - | 4801 Glenwood Avenue - Suite 200 - Raleigh, NC 27612 - USA -
Tel +39 0341 220 205 - info.it at yetopen.com | Phone +1 919-817-8106 - info.us at yetopen.com
Think green - Non stampare questa e-mail se non necessario / Don't print this email unless necessary
-------- Riservatezza D.Lgs. 196/2003 e GDPR 679/2016 --------
Questo messaggio e' riservato ai destinatari indicati e contiene informazioni confidenziali, ivi compresi gli allegati.E' vietata la diffusione, copia o utilizzo non autorizzato. Se lo ha ricevuto per errore, La invitiamo a eliminarlo immediatamente e a informarci tempestivamente. Grazie.
-------- Confidentiality Legislative Decree 196/2003 & GDPR 679/2016 --------
This message is intended for the recipient only and may contain confidential information, including attachments. Unauthorized disclosure, copy or use is prohibited. If received in error, please delete immediately and notify us. Thank you.
More information about the samba
mailing list