Re: [Samba] smbclient printout

2007-11-30 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yes, then you want the audit VFS module. Check out the documentation for
information about this.

Matt Lozier wrote:
 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:[EMAIL PROTECTED] 
 Sent: Wednesday, November 28, 2007 6:33 PM
 To: Matt Lozier
 Cc: samba@lists.samba.org
 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 *
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 
 
 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

  

   
 


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHUH12mb+gadEcsb4RAg4dAJ9OjQ4mIFaC25zkinoQvMTCx7FWTQCgwzrP
CmK5/JyCmumUaq28tXIGDms=
=5Jo4
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

RE: [Samba] smbclient printout

2007-11-30 Thread Matt Lozier
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:[EMAIL PROTECTED] 
Sent: Wednesday, November 28, 2007 6:33 PM
To: Matt Lozier
Cc: samba@lists.samba.org
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 *
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



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


[Samba] smbclient printout

2007-11-28 Thread Matt Lozier
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


RE: [Samba] smbclient printout

2007-11-28 Thread Matt Lozier
I'm sorry -- I didn't mean smbclient, I meant _smbstatus_ !!

My apologies

---
Matt Lozier
Network Administrator
972.644.2581, ext. 248
972.661.2701  fax
 

 
The information contained in this message or any attached document is
confidential and intended only for the individual(s) or entity to which it
is addressed.   The information should be considered privileged and
confidential.  If you are not the intended recipient, you are hereby
notified that any unauthorized use of the information contained in or
transmitted with the communication, or dissemination, distribution, or
copying of this communication is strictly prohibited by law.  If you have
received this communication in error, please inform the sender by
immediately returning this communication to the sender and then deleting the
original message and any copy of it in your possession.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Lozier
Sent: Wednesday, November 28, 2007 4:22 PM
To: samba@lists.samba.org
Subject: [Samba] smbclient printout

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

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


Re: [Samba] smbclient printout

2007-11-28 Thread Mark Adams
You could use watch (man watch) in a script to append () to a log file
making sure you background the process () so it is daemon like

You could then put your script in to your init routines to operate on
startup. 

You should investigate how intensive this might be on your system,
though.

Mark

On Wed, Nov 28, 2007 at 05:06:59PM -0600, Matt Lozier wrote:
 I'm sorry -- I didn't mean smbclient, I meant _smbstatus_ !!
 
 My apologies
 
 ---
 Matt Lozier
 Network Administrator
 972.644.2581, ext. 248
 972.661.2701  fax
  
 
  
 The information contained in this message or any attached document is
 confidential and intended only for the individual(s) or entity to which it
 is addressed.   The information should be considered privileged and
 confidential.  If you are not the intended recipient, you are hereby
 notified that any unauthorized use of the information contained in or
 transmitted with the communication, or dissemination, distribution, or
 copying of this communication is strictly prohibited by law.  If you have
 received this communication in error, please inform the sender by
 immediately returning this communication to the sender and then deleting the
 original message and any copy of it in your possession.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Matt Lozier
 Sent: Wednesday, November 28, 2007 4:22 PM
 To: samba@lists.samba.org
 Subject: [Samba] smbclient printout
 
 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
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbclient printout

2007-11-28 Thread Michael Heydon
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 *
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



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