Page 1 of 1 1
Topic Options
#48067 - 1999-08-18 06:56 PM Mapping home drives using @HOMESHR
Anonymous
Unregistered


Hi,

I am creating login scripts to map the users home drive based on information stored in the the Domain User Manager.

This is the code I am using:
use m: /delete ; disconnects any drive previously mapped to H:
use m: @HOMESHR ; connects to users home directory as defined in User Manager
IF @ERROR=0
goto notes1 ; if no error, then skip to the next section
ELSE
color w+/n
at (11,0) "Personal M: drive not found. Please contact your System Administrator"
at (12,0) "Press any key to continue"
GET $x
ENDIF
sleep 3


In the User Manager for Domains, under the user's profile section I have entered the UNC path of the user home directory share.
eg: "\\server\username$" (this is a hidden share, but normal shares are not working). EVERYONE has full control of this share.

The above code is working NT 4, but on Windows 95 (OSR2 B) is failing. I have previously used this code on Windows 95 and it worked fine.

I need to use the "@HOMESHR" command, because user directories are located on a 6 different servers.

Any suggestions are welcomed.

Thanks

Brendan

Top
#48068 - 1999-08-19 11:34 PM Re: Mapping home drives using @HOMESHR
Anonymous
Unregistered



I have found the problem....
The kix*.dll files were not in the path when I was executing the script. Other Kix functions were working okay so I did not pick up on the problem initially. When I copied in the relevant DLLs the @HOMESHR function starting working.


Top
#48069 - 1999-08-20 03:06 AM Re: Mapping home drives using @HOMESHR
Anonymous
Unregistered


thanx for sharing the sollution you found

------------------
Lon Geefshuysen (MCP)
kixtart.to/lon
lon@kixtart.to


Top
Page 1 of 1 1


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

Who's Online
0 registered and 2312 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.048 seconds in which 0.022 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