logon scripts
Christian Duclou
Christian.Duclou at eeigm.inpl-nancy.fr
Thu Sep 7 08:45:37 GMT 2000
Hi,
We have NT4 workstations
In the [global] section of "smb.conf" we have :
# One script for all the members of the group : %G
# /usr/local/samba/netlogon/%G.bat
logon script = %G.bat
Example of a group MS-Dos script :
@echo off
@TITLE DOMAINE TARGUIZ %username%
@net use u: /DELETE
@net use p: /DELETE
@net use s: /DELETE
@net use t: /DELETE
@net use u: \\SAMBASRV\%username% 1>NUL 2>&1
@net use p: \\SAMBASRV\public 1>NUL 2>&1
@net use s: \\SAMBASRV\site 1>NUL 2>&1
@net use t: \\SAMBASRV\agora 1>NUL 2>&1
IF EXIST \\SAMBASRV\netlogon\%username%.bat CALL
\\SAMBASRV\netlogon\%username%.bat
@echo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BIENVENUE SUR TARGUIZ
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %username% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Greg Ryle wrote:
>
> I am new to the list and just inherited a domain with a linux box
> running Samba 2.0.6 as a PDC. I am wondering if anyone has any domain
> logon scripts for machines or for individual users I can see as an
> example?
>
> Thanks Greg
--
_____________ EEIGM - Service Informatique _____________
6, rue Bastien LEPAGE - 54010 NANCY - CEDEX - France
Phone: +33 383.3683.27 - Fax: +33 383.3683.36
_______________ http://eeigm.inpl-nancy.fr _____________
More information about the samba-ntdom
mailing list