You have hit the issue exactly... basically can't do that in 95 - not on Filers or NT Servers. Here are the two options I explored in my implementation of a filer in a CIFS only environment at my old job. I ended up using option #2 with batch files to ease the pain. I just couldn't get kixtart to run consistently. You can do some searches on MS's web site exact command to add in your batch file to automatically assign the user home directory in the NT Profile. Unfortunately I don't have the batch file myself anymore.
Two options:
#1 You can use a program like WINSET.EXE and a logon script processor like KiXtart to set the environment variable then map a drive for the 95 user in the same manner he would map the drive for the NT users. (Microsoft's web site has some good KB articles on this).
#2 You can manually (or through batch file) set the Home Directory property (in NT User Manager for Domains under User Properties/Profile) to the desired home directory for each user. E.g. You would have to set the Home Directory property for your 95 users to Connect Z: (or whatever letter) to \filer\username. Then you can use the native NT login script to map the 95 users to NET USE Z: /HOME
This topic is pretty well covered on Microsoft's web site.
Another option you can try is just place a shortcut to the filer on the users desktop. Then they could doubleclick on the filer and they will see their user home directory at the top level. Not as slick as some of the other options, but it should work as well.
Hope this helps.
:-----Original Message----- :From: Timothy Demarest [mailto:demarest@arraycomm.com] :Sent: Friday, March 31, 2000 10:05 AM :To: toasters@mathworks.com :Subject: How are you mounting CIFS homedirs with Win9x? : : : :I was wondering how everyone is mounting CIFS file systems :from Windows 9x :clients? Having worked through the NIS netgroup issue (Bug :#19922, patched :in 5.3.4R3P2 -- thanks everyone), I'm moving on to getting the :new filer :working with PCs. : :I have a CIFS homedir for each user. The filer shares this directory so :that it appears as the user name. In a Windows NT login :script, I can use :the "%username%" directive to mount the user's home dir as H:. :However, you :can't use "%username%" with Windows 9x clients. : :One option is to set the home directory in the user's :environment profile :(in User Manager), but this requires changing each user's profile. The :logon script is simple and elegant. : :I'd really like to mount the CIFS homedir directly, rather :than having the :user open the drive, then open the folder with their :associated username in :order to access files in their home directory. : :Any hints? : :Tim : :
"Anissa" == Mohler,Anissa Anissa.Mohler@netapp.com wrote the following on Fri, 31 Mar 2000 16:22:45 -0800
Anissa> You have hit the issue exactly... basically can't do that in 95 - Anissa> not on Filers or NT Servers. Here are the two options I explored Anissa> in my implementation of a filer in a CIFS only environment at my Anissa> old job. I ended up using option #2 with batch files to ease the Anissa> pain. I just couldn't get kixtart to run consistently. You can Anissa> do some searches on MS's web site exact command to add in your Anissa> batch file to automatically assign the user home directory in the Anissa> NT Profile. Unfortunately I don't have the batch file myself Anissa> anymore.
Anissa:
Thanks for the info. Are there any plans to support variable expansion a la SAMBA? For example, sample allows you to define a share using "%u", which gets expanded to the username on the SAMBA side. That llows you to put "\samba-server\home" in the logon script, and have SAMBA do the exapansion for you.
Tim
-- Timothy Demarest ArrayComm, Inc. demarest@arraycomm.com 2480 North 1st Street, Suite 200 http://www.arraycomm.com San Jose, CA 95131