[Samba] Running a login script
Mike Stewart
mike at powys-training.co.uk
Wed Mar 19 10:01:30 GMT 2008
Hi JJ, thanks for the response.
Does this mean we create and store a script on the Windows PC ?
We actually want to automatically run a script which resides on the Samba server - once the user has logged in we want to automatically to map drives etc.
Regards
Mike
----- Original Message -----
From: "Jean-Jacques Moulis" <jj at isy.liu.se>
To: "Mike Stewart" <mike at powys-training.co.uk>, samba at lists.samba.org
Sent: 19 March 2008 07:06:32 o'clock (GMT) Europe/London
Subject: Re: [Samba] Running a login script
On Tue, 18 Mar 2008 11:46:58 +0000 (GMT) Mike Stewart <mike at 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 at isy.liu.se
581 83 Linköping
-----------------------------------------
More information about the samba
mailing list