Access Log Files
Joel at HammersHome.com
Mon Sep 17 04:46:02 GMT 2001
Look at the predefined variables in samba. %U has the name you want, %m the
machine name, %T date and time.
Section 4 or thereabout of the book with swat shows these.
make a preexec = echo %U %m %T > MyPrintLog.
I am not sure if this will work in your global section.
Look at this link:
On Mon, Sep 17, 2001 at 09:11:52AM +0200, wil van der wee wrote:
> Hi All,
> I have following question about samba. I'am running a website with samba, and have
> a protected area (username and password required for clients) I want to have a
> seperate accesslog file in which I can see which users have logged in, including date
> and time. Is this possible with the standard samba software, or do I need a seperate
> application for this. If I need other software for this, can somebody suggest me
> software. If I can do this with samba, please also tell me how to do this.
> Thanks for any help
> Best regards,
More information about the samba