logfile-analyzer
David Bannon
D.Bannon at latrobe.edu.au
Thu Feb 4 21:52:51 GMT 1999
At 01:17 AM 05/02/1999 +1100, Thomas Reifferscheid wrote:
>Is there a logfile analyzer for the nmb logfile and the smb logfile ?
>
>All i need to know is which users logs on how often, when and on what
>PC, preferable entering this information in our mysql-db.
>The other thing that would make my life easier is, who has access how
>often to what files on a dedicated share.
Wow, you must have a lot of time available to read such things ...
The samba log files are more about hunting bugs than generating reports,
how about this :
In your 'homes' share add these two lines :
root preexec= echo \"%u connected from %m at %T\" >> disk2/samba/var/use.log
root postexec=echo \"%u disconnect from %m at %T\" >> disk2/samba/var/use.log
David
------------------------------------------------------------
David Bannon D.Bannon at latrobe.edu.au
School of Biochemistry Phone 61 03 9479 2197
La Trobe University, Plenty Rd, Fax 61 03 9479 2467
Bundoora, Vic, Australia, 3083 http://bioserve.latrobe.edu.au
------------------------------------------------------------
..... Humpty Dumpty was pushed !
More information about the samba-ntdom
mailing list