samba@lists.samba.org
[Top] [All Lists]

RE: [Samba] smbclient printout

Subject: RE: [Samba] smbclient printout
From: "Matt Lozier"
Date: Fri, 30 Nov 2007 08:05:23 -0600
Hi Michael,

Yes, basically I'm trying to get a continuous log of who accesses which
files, and when.

Any and all suggestions are greatly appreciated!

Thanks,

---
Matt 


-----Original Message-----
From: Michael Heydon [mailto:michaelh@xxxxxxxxxxxxx] 
Sent: Wednesday, November 28, 2007 6:33 PM
To: Matt Lozier
Cc: samba@xxxxxxxxxxxxxxx
Subject: Re: [Samba] smbclient printout

Can I suggest that you explain the problem you are trying to solve 
rather than how you plan on solving it?

I suspect that the audit vfs module would be a far better option...but 
without knowing exactly what you want to do its a bit hard to say for sure.


*Michael Heydon - IT Administrator *
michaelh@xxxxxxxxxxxxx <mailto:michaelh@xxxxxxxxxxxxx>



Matt Lozier wrote:
> Hello,
>
>  
>
> Sorry, I guess my first post wasn't allowed - perhaps because I had HTML
> embedded in it?
>
>  
>
> Question:
>
>  
>
> Is there a way that I can have the output of smbclient be redirected to a
> file and have it updated every time someone opens / closes a file in the
> share?
>
>  
>
> The only idea that I have thus far is to write a script that would output
> this data to a log file, and have the script run every 5 min. or so.  I
> suppose that I could use diff to compare the changes, and only update the
> log file with the changes? 
>
>  
>
> Any and all input is greatly appreciated!
>
>  
>
> Thank you,
>
>  
>
> ---
>
> Matt Lozier
>
> Network Administrator
>
> 972.644.2581, ext. 248
>
> 972.661.2701  fax
>
>  
>
>   

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

<Prev in Thread] Current Thread [Next in Thread>