Hi Jason, The "log file" parameter is just the name of the file. At the end you will have the same log, don�t matter what is the file name.
To log who logged in the Domain you can do ./configure --with-utmp in the compile time and add these lines to your smb.con: utmp = Yes utmp dir = /var/log And it will create the files: /var/log/utmpx -> this file with who is logged /var/log/wtmpx -> this file with who ever logged. I this very usefull. Hope it helps. Bruno Pereti. ----- Original Message ----- From: "Jason Williams" <[EMAIL PROTECTED]> To: "Corey Hart" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 13, 2003 5:26 PM Subject: Re: [Samba] smb.log v/s nmb.log > Interesting actually. I had not thought about this. > Is it possible to have more than one type of log? > Lets say I want to have: > > log file = /var/log/smb/log.%U ---this will tell me when a user logged onto > their account as well as logged off, correct? > Also, i have this in my smb.conf: > > log file = /var/log/smb/log.%m > > Which, gathers machine information. > > What I was curious about is i'd like to setup my logging so I can see any > potential problems with machines, and also set up logging so I can view > when people logged onto the domain as well as logging off the domain. > > Any recommendations? Or what would work best? > > Thanks. > > Jason > > At 11:03 AM 8/13/2003 -0500, you wrote: > >in smb.conf > > > >[global] > > > >log file = /var/log/smb/log.%U > > > > > > > >[EMAIL PROTECTED] wrote: > > > > > how do I create the separate log files of smb.log and nmb.log > > > Just want a log of users who have accessed their accounts. > > > Thanks in > > > advance > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > >-- > >---- > >Corey Hart > >Systems/Security Analyst > >St. Edward's University > > > >-- > >To unsubscribe from this list go to the following URL and read the > >instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
