Florian G. Pflug
fgp at fgp.priv.at
Tue Apr 6 13:37:13 GMT 1999
On Sat, Apr 03, 1999 at 06:52:11AM +1000, Carey F. Cox wrote:
> 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...
> C:> net use X: \\SAMBASERVER\SHARE
> 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?
Yes, there is a smb.conf option named "logon path", or similar. I don't
remember how it worked exactly, but I thnik it is what you need. This is,
however, documentet somewhere in the samba-docs that come with the
Greetings, Florian Pflug
More information about the samba