[Samba] Automatic logoff, kickoff time, etc.
Andrew Bartlett
abartlet at pcug.org.au
Sat Mar 9 00:40:03 GMT 2002
"Richter, Gary" wrote:
>
> Hello. I am in the process of setting up a home network where 2 of the users
> will be kids. Because of this, I have decided that it would be nice to have
> a login time restriction for thier XP workstations, as well as an automatic
> logoff time. This can be done with any Windows domain controller, and I've
> had halfway luck with Samba.
>
> I can get software that will enforce the workstation to log off at a certain
> time and this is good, but it seems to me that this would have to be
> orchestrated with time sync so that the workstation is logged out and the
> roaming profile copied back up to the server *before* 8:00, otherwise Samba
> is gonna cut the connection. Lots of variables come into play here: What if
> I tell the logoff software to log the kid off at 7:59:30, and it takes more
> than 30 seconds to copy the roaming profile back up? What if I tell it to
> log off the workstation at 7:59, the roaming profile copies up in 20
> seconds, and the kid gets smart and logs right back in the remaining 40
> seconds?
>
> Anyone got any ideas? I welcome any :)
If you use Samba HEAD you should be able to set the 'kickoffTime' in
LDAP, and have that communicated to the winXP box (assuming XP Pro),
which should have the desired effect.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba
mailing list