[Samba] login script
Paul Gienger
pgienger at ae-solutions.com
Thu Jun 3 21:26:25 GMT 2004
Have you looked at the utmp support at all? I haven't looked at it much
lately, but it would seem to be what you're looking for.
Matthias Spork wrote:
> 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
>
--
Paul Gienger Office: 701-281-1884
Applied Engineering Inc. Cell: 701-306-6254
Information Systems Consultant Fax: 701-281-1322
URL: www.ae-solutions.com mailto:pgienger at ae-solutions.com
More information about the samba
mailing list