[Samba] Running a login script

Charles Marcus CMarcus at Media-Brokers.com
Wed Mar 19 20:26:47 GMT 2008


On 3/19/2008, Mike Stewart (mike at powys-training.co.uk) wrote:
> I had assumed that the smb.conf entry for "logon script = %U.bat" was 
> all that would be needed and would pick up the user's name and 
> password as they logged into the server (through a desktop shortcut) 
> and run that script which would map the required drives etc.
> 
> Basically what we want is to set up all our Win2000 PCs to log into 
> windows as a generic staff member then when they click on the desktop 
> shortcut they are prompted for their server username & password 
> and... hey presto all their network drives appear in My Computer.

I'm trying real hard to understand why you wouldn't just set the server 
up as a proper domain controller... it makes stuff like this brain-dead 
easy...

-- 

Best regards,

Charles


More information about the samba mailing list