[Samba] Running a login script

Mike Stewart mike at powys-training.co.uk
Wed Mar 19 22:14:27 GMT 2008


Thanks Charles,

I think you're right, what I'm trying to accomplish is probably better/easier with a Domain Controller.  However, I'm surely brain-dead as I've tried to set the box up as a Domain Controller and although my Windows machine will login in to the domain it still won't run the script so I think I must be missing something.  Domain Controllers are a completely new thing to me so it's no surprise I'm struggling :-(

If anyone has a simple example smb.conf file that does all this and any other hints I'd much appreciate it.

Regards

Mike... struggling, exhausted, frustrated.... 


----- Original Message -----
From: "Charles Marcus" <CMarcus at Media-Brokers.com>
To: samba at lists.samba.org
Sent: 19 March 2008 20:26:47 o'clock (GMT) Europe/London
Subject: Re: [Samba] Running a login script

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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



More information about the samba mailing list