Gabriel Moll Ibacache schrieb:

Hi everybody! Here is my first question :)

I have a solaris machine running samba, and a lot of computers with
windows 2000. I need to generate a log file with the time when a user
logon into the machine and the time when the user logout.

I tryed the following ...

In the smb.conf I wrote in the [netlogon] section

[netlogon]
root preexec = /usr/local/samba/lib/mylogin.pl %T %u %m
root postexec = /usr/local/samba/lib/mylogout.pl %T %u %m


Why don't you take the profiles-share for your Script? Every time this share will be connectet, a user logs in or out.

matze

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to