Logon scripts

Carey F. Cox carey at tabasco.lamar.edu
Fri Apr 2 20:49:54 GMT 1999

Well, I finally solved my problem of not being able to run executables 
on a Win95 client from a samba share. At the DOS prompt, I had to issue...


and then go through My_Computer to the X: drive. Evidently the executables 
were looking for data files that were not in the path. If I add this to 
a logon script, setting up this (and others) drive would be automated.

I know that I can setup a logon script for each user by adding...

	logon script = %U.bat

into smb.conf, where user1.bat might contain the following...

	net use X: \\SAMBASERVER\user1
	net use P: \\SAMBASERVER\public

that would setup the two drives X and P. However, this would mean I 
need to create a logon script for each user. Since only the home share 
would change for each user (user1 in the example), is there a way to 
setup one logon script for everyone that would automatically factor in 
the user's particular home share?



<>   Carey F. Cox, PhD             |  PHONE: (409) 880-8770           <>
<>   Assistant Professor           |  FAX:   (409) 880-8121           <>
<>   Dept. of Mech. Eng.           |  EMAIL: carey at tabasco.lamar.edu  <>
<>   Lamar University              |  WEB:   N/A                      <>

More information about the samba mailing list