[Samba] Help ! Logon Hours

Jan Engelhardt jengelh at linux01.gwdg.de
Wed Jan 31 18:40:52 GMT 2007

On Jan 31 2007 11:28, Beeckmans Olivier wrote:
> Hello World !
> I want to restrict Logon Hours form some users
> How can I do that ?
> Thanks for your respons
> Olivier

[global] or per-[share]...

root preexec = /your/login/blocker %u
root preexec close = yes

And the blocker program should return EXIT_SUCCESS when it's ok to 
login, or otherwise to deny it. I am not sure putting root preexec under 
[netlogon] works with Windows NT/XP, but it certainly does with 95/98.

ft: http://freshmeat.net/p/chaostables/

More information about the samba mailing list