[Samba] Multiple Login scripts

Ilia Chipitsine ilia at paramon.ru
Sat Dec 10 18:06:08 GMT 2005

look for samba mailing list for command-line-printer-installation
(it was here, but I missed the link, actually it will work on w2k and 

also, we use the following in our logon scripts (not sure it will work 
for nt4 and 9x, never tried it):

-----<cut here>---
if "%COMPUTERNAME%" == "TERMINAL" goto noprinthlp



---<cut here>---

> Hi all,
> Just a quick question about login scripts for a large number of users who
> change rooms a lot.
> I have several rooms each with a printer, and nearly a thousand users divided
> into two main groups - pupils and teachers who change rooms on a routine
> basis. Is it possible to set up multiple login scripts that would be executed
> in sequence i.e. run by user is %u, and machine is %m is it possible to say
> run %u to set up shares followed by %m  to set up the right printers for the
> room their in?
> Thanks in advance...
> Cheers,
> Jpb
> -- 
> Julian Pilfold-Bagwell
> Borden Grammar School
> Avenue of Remembrance
> Sittingbourne
> Kent
> ME10 4DB
> Tel: (+44)1795 424192 ext 121
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list