Page 1 of 1 1
Topic Options
#39239 - 2003-04-15 09:15 PM Home Directories
Anonymous
Unregistered


Okay, it has been a while since I used Kixtart. How do I do the following?

If NT username = blah, then home directory = \\server\homedirectory\blah

Thanks.

Top
#39240 - 2003-04-15 09:25 PM Re: Home Directories
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
This depends on the client OS. Also, are you trying to link an already existing share or create one?
_________________________
Jack

Top
#39241 - 2003-04-15 09:31 PM Re: Home Directories
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Also, be aware that Windows 9x/NT do not support deep mapping.

Pleas explain in detail what exactly you try to achieve.
_________________________
There are two types of vessels, submarines and targets.

Top
#39242 - 2003-04-16 05:53 PM Re: Home Directories
Anonymous
Unregistered


Okay. More detailed.

I have a mix of NT 4.0 wkst and win2k pro workstations. I want to create a home directory for each user that logs on if one doesn't already exist, and map a drive to the created directory.

I want the drive letter to be H:
To avoid deep mapping, I will share each home directory (hidden share).

So the end result would be:

user1 logs in.

on \\server1 the script would look to see if the user has a home directory created. If there is one '\\server1\user1$' a H: will be mapped to it. If there is not a user1 directory, one will be created and a hidden share will be created, using the userid as the name.

I thought that
Use H: '\\server1' +@UserID+'$$'
would at least map the H:, but that doesn't seem to do the trick.
Thanks.

Top
#39243 - 2003-04-16 05:55 PM Re: Home Directories
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Creating the folder and share should not be done in the logon script but rather in an admin script.

You USE line is missing a \.

Use H: '\\server1' +@UserID+'$$'

should be:
Use H: '\\server1\' +@UserID+'$$'
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#39244 - 2003-04-16 06:20 PM Re: Home Directories
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Creating/Sharing the folder on the fileserver will also require administrative privileges if security is set properly.
code:
USE H: '\\server1\'+@USERID+'$$'

will work. You forget the backslash between the servername and the username.
_________________________
There are two types of vessels, submarines and targets.

Top
#39245 - 2003-04-16 08:55 PM Re: Home Directories
Anonymous
Unregistered


[Wink] Picky little computers..

Thanks,

John

Top
Page 1 of 1 1


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

Who's Online
0 registered and 931 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.12 seconds in which 0.097 seconds were spent on a total of 12 queries. Zlib compression enabled.

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