[Samba] Running a login script

Mike Stewart mike at powys-training.co.uk
Tue Mar 18 11:46:58 GMT 2008


Hello all, 

We are trying to find a way to run login scripts for our users but all the How-To files seem rather complicated :-( 

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. 

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. 

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 ? 

TIA 

Mike 




-----------------------------------------


More information about the samba mailing list