creating batch file for logon script...

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Mon Sep 24 05:56:02 GMT 2001


Hi,
You can use the ux2dos function if it exists on your system (ux2dos
originalfile >newfile) to convert a text file created with unix style line
terminations to dos style line terminations.
Don
-----Original Message-----
From: Sano B Rutsen [mailto:heiko at edsamail.com.ph]
Sent: Saturday, September 22, 2001 21:52
To: samba
Subject: creating batch file for logon script...


I have a 6 computers home network and 1 one them is acting
as a file server that authenticates usersfor domain logons.
I read a samba book about creating a dos batch script that 
would automatically mount the users home directory in the 
drive "n:", the script conatins the following lines...

    net use n: \\sambaserver\username /yes


** note: the file is saved in the /home/netlogon/username.bat**
** All users have their own batch file in the netlogon directory** 

the problem is that whenever i create the batch file in linux 
using vi or any text editor, the script cannot be executed and,
my friend told me that i need a program that would convert the
batch script created in linux to have dos commands. Does anyone
of such package/program? Or does anyone know an easier way to do
this?


As of now i have to create all the scripts for all the users in notepad,
so that it can be executed, then copy it to the the netllogon directory 
of my samba server.


Thanx in advance!!!




Best regards,


Heiko 
 
   

__________________________________
www.edsamail.com

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list