On Tue, 18 Mar 2008 11:46:58 +0000 (GMT) Mike Stewart
<mike@powys-training.co.uk> wrote:
MS> Hello all,
MS> We are trying to find a way to run login scripts for our users but all
the How-To files seem rather complicated :-(
MS> We have been using Samba for several years and all our users have Windows
2000 PCs, Samba accounts etc. They log into their Windows with a
username/password OK. The Samba server is set up with the same username/password
combination as their PCs so they don't have to supply username/password
again and drive mappings are saved by Windows. A very simple system which has
proved easy to maintain.
MS> We are trying now to introduce "Generic" PCs which any user can
access (hot desking I think it is called). So, we want the Samba server to
prompt the user for a username/password combination when they click on the
desktop shortcut to the server (we've accomplished that part easily) and
then automatically run a login script to map their drives - that's the part
we are struggling to find a solution to.
MS> All the examples we've found so far refer to "Domain
Controllers" - Do we have to set up the server as a Domain controller, do
we have to create machines accounts etc ?
A domain controller would be my prefered solution.
But you can use login scripts without.
Run gpedit.msc on computers needing the login script.
Local computer policy --> user configuration --> windows settings -->
scripts --> logon --> add
define the location of your script.
Regards!
--
Jean-Jacques Moulis Tel: (013) 281684
ISY Fax: (013) 139282
Link?ping University E-mail: jj@isy.liu.se
581 83 Link?ping