Page 1 of 2 12>
Topic Options
#25735 - 2002-07-24 04:48 AM Home Drives with Win9x
Steven Myers Offline
Fresh Scripter

Registered: 2002-07-24
Posts: 9
Loc: Lancaster, SC
I am placing home directory in the company I work for, however when you create a users profile in user manager for domains it will create the folder for you. In windows 9x it will not map it correctly but in NT is does. My question to anyone is if there is a way to bypass from creating every hidden share for every user? These shares would be living on a EMC IP4700 so scripting is not possible for this to be done any easier.
_________________________
Steven Myers Network Admin

Top
#25736 - 2002-07-24 09:52 AM Re: Home Drives with Win9x
Jonathan Teasdale Offline
Fresh Scripter

Registered: 2002-07-22
Posts: 6
Loc: York, England
It depends what you want to use the home directory for.
If you want a mapped drive for each user to store their own personal data, then, using Windows 95, a hidden share for each user is unavoidable, and would need to be mapped in a Kix script, to reproduce the functionality that NT has.
If you just want use the home directory to store a user's roaming profile, eg user.dat, and associated folders, there would be no need for hidden shares.

Top
#25737 - 2002-07-24 01:03 PM Re: Home Drives with Win9x
Steven Myers Offline
Fresh Scripter

Registered: 2002-07-24
Posts: 9
Loc: Lancaster, SC
I want the users to have it as a mapped drive letter (H:\). I understand how it is placed in the script, but not the only folder I have shared is named Home$. The path in the user home directory section in user manager is as follows:

H: \\server1\Home$\%username%

When it maps it on a win9x box it map to the shared folder named HOME$. This allowing all users to see each others home directory.
_________________________
Steven Myers Network Admin

Top
#25738 - 2002-07-24 01:07 PM Re: Home Drives with Win9x
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
allowing seeing each others directory can be disabled with rights.

you can search on the board...
there was a week ago a similar post.

I will look up for it too.
_________________________
!

download KiXnet

Top
#25739 - 2002-07-24 01:07 PM Re: Home Drives with Win9x
Peter Fry Offline
Getting the hang of it

Registered: 2001-07-23
Posts: 95
Loc: Bristol UK
ok (i think i might know the answer)

you need to create the shares for EACH user not just home$ i.e.

create the share called %username%$ and use

H: \\server1\%username%$

i've seen theis problem b4 and i use RMTSHARE to create the shares remotely if need need a hand with this just shout

Pete

Top
#25740 - 2002-07-24 01:16 PM Re: Home Drives with Win9x
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
didn't find it...
and I don't know how well it works for win9x clients, but nt should work with:

shell "%comspec% /c subst H: \\server\share\%username%"

if no working on win9x you may need to:
use x: "\\server\share"
shell "%comspec% /c subst H: x:\%username%"

peter, rmtshare is for creating nt shares.

cheers...
_________________________
!

download KiXnet

Top
#25741 - 2002-07-24 02:06 PM Re: Home Drives with Win9x
Peter Fry Offline
Getting the hang of it

Registered: 2001-07-23
Posts: 95
Loc: Bristol UK
RMTSHARE can create shares on an NT server and these shares can be connected to by windows 9x clients - i was just giving an option as he doesn't say which platform his servers are on just that on his NT clients it works ok just not on his 9x clients

sorry i've confused anyone

PEte

Top
#25742 - 2002-07-24 03:53 PM Re: Home Drives with Win9x
Steven Myers Offline
Fresh Scripter

Registered: 2002-07-24
Posts: 9
Loc: Lancaster, SC
In my first statement I posted I did explain the the shares would live/house on an EMC IP4700 (non-winnt). I would use kix to script it but it does not unstand the O/S that is on the EMC.
_________________________
Steven Myers Network Admin

Top
#25743 - 2002-07-24 03:54 PM Re: Home Drives with Win9x
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
steven, did you try it with the subst?
_________________________
!

download KiXnet

Top
#25744 - 2002-07-24 04:54 PM Re: Home Drives with Win9x
Steven Myers Offline
Fresh Scripter

Registered: 2002-07-24
Posts: 9
Loc: Lancaster, SC
Yes, it does not work. For my NT boxes it work just fine.
_________________________
Steven Myers Network Admin

Top
#25745 - 2002-07-24 05:22 PM Re: Home Drives with Win9x
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
deep map is not possible with win9x neither is direct subst to unc.
what you can try is my other example which maps the share to somepoint and subst then the right path to H...

also, %username% does not work for win9x...
or as I recall (my net is win9x free!).
this means the username map should be done with @userid

cheers
_________________________
!

download KiXnet

Top
#25746 - 2002-07-24 05:54 PM Re: Home Drives with Win9x
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Steven:

Please read the MAP ROOT section in Appendix A of the Kixtart manual. You can also read the various posts about this on this BBS.

Most admins use hidden shares for user directories that you then connect to as
code:
USE H: '\\server1\'+@USERID+'$$'

_________________________
There are two types of vessels, submarines and targets.

Top
#25747 - 2002-07-24 06:03 PM Re: Home Drives with Win9x
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jens, shares are not the issue here as there is only one for all users.
on some platforms making shares can be difficult enough to search for other ways.
unlike in samba they are done automatically for all connecting users if wanted.

anyway, the map root issue thingie is goodie.

still, if win9x subst is working it can be worked around.
as footnote, I still haven't tried this on win9x so steven, you should try it on command prompt with some network drive.

regards
_________________________
!

download KiXnet

Top
#25748 - 2002-07-24 06:16 PM Re: Home Drives with Win9x
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Lonkero: The point is that under Windows 9x the SUBST command is not working. You can therefore not do the deep mapping and have to use shares on a per-user basis if you want to connect a user to just their home directory.

BTW, I like the SAMBA feature of automatically creating home shares. I'm currently using a SAMBA-enabled workstation for number-crunching. My users like it, especially the integration with Windows authentication.
_________________________
There are two types of vessels, submarines and targets.

Top
#25749 - 2002-07-24 06:22 PM Re: Home Drives with Win9x
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok... so it does not work.
thanks for clarifying.

yeah, samba is goodie for many issues.
first problem I got when had to use nt-acl's on files.

it didn't work just with kernel rebuilding but also needed to do lots of work and investigating to get file permissions and inheritance working properly.

but for homedrive-server it was matter of one day to get all made up, backups running, raid1 and so on.

they still do have some bigger issues with ldap and AD but gladly I'm still running nt-domains!
_________________________
!

download KiXnet

Top
#25750 - 2002-07-24 09:53 PM Re: Home Drives with Win9x
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
I don't believe the subst is broken in Win9x, rather its functionality was extended in WinNT & higher. In fact, I believe it was extended in NT to specifically help overcome NT's inability to map deep shares.

Jens is right though. With Win9x clients you must create individual hidden shares. There is no way around this. The NT user manager does not actually automatically create shares, they are sort like pseudo-shares.

Another point, I don't believe NT servers can make these pseudo-shares invisible to other users. I not really familar with all the intracies of Win2000, maybe it can do it.

Finally, if I am reading you right you are planning to move these pseudo shares to a non-NT machines. I am not sure you can do this and maintain functionality. I though the dual concept of ownership & shares was a microsoft specific construct. Have you tested this for NT clients?
_________________________
Jack

Top
#25751 - 2002-07-24 11:45 PM Re: Home Drives with Win9x
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Jack:
SUBST is not broken in Windows 9x. The Windows redirector software under Windows 9x does not support at all deep redirection. See the explanation in the KiXtart Manual Appendix A "The 'MAP ROOT' issue." Therefore SUBST in Windows 9x doesn't support it due to the lack of support in the underlying redirector.
_________________________
There are two types of vessels, submarines and targets.

Top
#25752 - 2002-07-25 04:27 PM Re: Home Drives with Win9x
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
I was trying to say the same thing, badly I guess.

As a side point, several years ago there was a lot of serious discussion on various Netware sites on this issue. My understanding of these readings suggests that the redirectors in both NT & Win9x don't fully support deep mapping but the problem is not fundamental to either system. In both systems, an updated redirector can support deep mapings. Netware does provide replacement redirectors for Win9x that do deep mappings. Many Netware sites claim that Microsoft purposely didn't provide this functionality so as to limit the interaction with Netware servers.
_________________________
Jack

Top
#25753 - 2002-07-25 04:43 PM Re: Home Drives with Win9x
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
basically, SUBST in win9x is only for mapping a deep path on a CONNECTED drive to a seperate letter... to make it an easy way around typing a long path. Subst will not map to a UNC (on win9x)

With WinNT, subst was extended to handle UNC paths, which is what allows us to map deep with WinNT... Net Use is functionally unchanged from the Win9x version we all know and love.

With Win2k+, subst is returned to the same functionality as in Win9x... not the way it was used in WinNT. However, Net Use was changed to support deep paths, as we always wanted it to be.

in summary:
Win9x: net use h: \\server\@userid$$
WinNT: Subst h: \\server\share\@userid
Win2k: net use h: \\server\share\@userid
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#25754 - 2002-07-26 01:16 AM Re: Home Drives with Win9x
Steven Myers Offline
Fresh Scripter

Registered: 2002-07-24
Posts: 9
Loc: Lancaster, SC
This message is for JackLothian: if netware has these redirectors then are they from their website and do you need to be running a novell system?
_________________________
Steven Myers Network Admin

Top
Page 1 of 2 12>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 837 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.165 seconds in which 0.137 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org