Mark Lambert
2006-Jan-09 04:35 UTC
[Samba] Question about Logon hours....auto logoff feature?
Can enforcing logon hours (which works great for me here to *prevent* logging in past your hours) also force a logoff? Can this at least be scripted somehow? Server is Fedora FC4 (currently samba 3.0.14a...upgrading probably by the time I get an answer to latest stable)....Windows 98SE and Windows XP Pro clients. Thanks! Mark
Adam Nielsen
2006-Jan-10 01:58 UTC
[Samba] Question about Logon hours....auto logoff feature?
> Can enforcing logon hours (which works great for me here to *prevent* > logging in past your hours) also force a logoff?Not in itself, no.> Can this at least be scripted somehow?You should be able to shut down PCs remotely by using the 'net rpc shutdown' command (see man net and search for 'shutdown' for more info.) You'd need a script to check which users were on which PC and if they're outside their allowed hours though. Cheers, Adam.