Hello World ! I want to restrict Logon Hours form some users How can I do that ? Thanks for your respons Olivier
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. Jan -- ft: http://freshmeat.net/p/chaostables/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/31/2007 08:28 AM, Beeckmans Olivier wrote:> Hello World ! > > I want to restrict Logon Hours form some users > > How can I do that ?You can do that using pdbedit. Not sure if it works with tdbsam, but it works with LDAP.> Thanks for your respons > OlivierKind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFwjjWCj65ZxU4gPQRAuF5AJ4wwQVDQvcZpoSzAMsYVFFZbVB4IACgow6a 2SHnBF5PEVkrplH70HgYFfA=2+R4 -----END PGP SIGNATURE-----