Page 1 of 1 1
Topic Options
#904 - 1999-11-04 06:55 AM searching for a script to automate "save to"
Anonymous
Unregistered


Hi,
Having a big problem as follows:
As a teacher in our school I got the work to design and manage a new network from scratch with 120 clients using Win95 and a server using NT4.0 with SR5. Okey this went fine,but now the biggest problem for me starts. Since all the software are installed on the clients and none on the server. I have 700 users changing from client to client, therefore all clients are locked by a software called ILLUSION. The server is only used to save all users mapps.HOW DO I MANAGE TO DIRECT A USER AUTOMATICLY TO HIS MAP ON THE SERVER WHEN HE WANTS TO SAVE HIS WORKS FROM ANY SOFTWARE ON THE CLIENT. I have 4 groups of users students,teachers,etc.. for example student "93anho" have to save his work on server "s" homedirectory_students and mapp "93anho".

Top
#905 - 1999-11-04 10:48 AM Re: searching for a script to automate "save to"
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
Your biggest problem is you need to create a semi-automated batch script (or use a utility) to create 700 accounts with a share created for each user. In NT there is no automated procedure for creating these shares. When you create a user account in NT you can automatically generate a user directory but it is not a share. From your perspective this automatically created directory has some very unpleasant properties. It is owned by the user & only the user has permission to even look at it. An administrator can not view this directory let alone convert it to a share. To convert it to a share you must first take ownership, then change the access permissions & then create the share. You also need an automated batch script for deleting student accounts & home directories. If you have already accomplished this then I suspect you need very little advice from me.

You can not use indirect share maps in NT (what confuses many people is Netware can do this) that attach the share with something like this: "USE U: \\<server>\<ShareName>\<UserID>" so you really can not use the group subdirectory characteristic for constructing the mapping during the login. Instead you must create the group characteristic during the account construction phase. Thus you create a share on the server called "UserID$" for directory "<Drive>:\<GroupDirectory>\<UserID>". During login your Kix script will contain the commands:

$UDIR="\\<server>\"+@USERID+"$"
USE U: $UDIR

_________________________
Jack

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 696 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.047 seconds in which 0.023 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