[Samba] Multiple Login scripts

Tomasz Chmielewski mangoo at wpkg.org
Tue Nov 15 21:05:50 GMT 2005


Julian Pilfold-Bagwell schrieb:
> 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?

what if you put into each user's script something like:

\\server\scripts\machines\%COMPUTERNAME%.bat

(computer-specific script)?


-- 
Tomek
http://wpkg.org
WPKG - software deployment and upgrades with Samba



More information about the samba mailing list