I don't think you can actually do this -- I believe you have to use the
system's utmp file, which is most definitely not in that directory -- I
don't know that Samba will create its own... maybe if you start one there,
it will then use it... but I'm not sure.
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
On Thu, 13 May 2004, Stefan Froehlich wrote:
> Hello,
>
> I have Samba 3.0.2a running (within a Sarge Debian installation) and
> must use utmp logging for some reasons. The following things have been
> checked:
>
> | # testparm | grep utmp
> [...]
> | utmp directory = /var/log/samba/
> | utmp = Yes
>
> | # ls -ld /var/log/samba/
> | drwxr-x--- 2 root adm 4096 May 9 06:25 /var/log/samba/
>
> | # smbd -b|grep -i utmp
> | UTMP Options:
> | HAVE_GETUTMPX
> | HAVE_UTMPX_H
> | HAVE_UTMP_H
> | PUTUTLINE_RETURNS_UTMP
> | WITH_UTMP
> | WITH_UTMP
>
> As far as I can tell, this is everything I'd need. However, no logging
> ist done, not even the file is created.
>
> Do you have any suggestions how to proceed? Could there be something
> missing?
>
> Bye,
> Stefan
>
> --
> http://kontaktinser.at/
> Kontaktanzeigen f?r ?sterreich - kostenlos und unkommerziell
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>