Access Log Files

Joel Hammer
Mon, 17 Sep 2001 04:46:02 -0000

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:

http://lists.samba.org/pipermail/samba/2001-September/057358.html

Joel


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,
>
> Wil
>