Page 1 of 1 1
Topic Options
#116545 - 2004-03-22 09:33 PM Map drive in another domain.
jetsongr Offline
Fresh Scripter

Registered: 2000-11-22
Posts: 18
Loc: Ann Arbor, MI
Trying to map drive in a different domain. Below you'll find our syntax for mapping "active" on a diffent domain if in group "shareactive".
Any suggestions?
;Clear away any existing network drive mappings
use * /delete

;Set up new drive mappings
USE P: "\\fileserver\" + @USERID
USE s: \\fileserver\shared
USE x: \\fileserver\apps

;Map "Active" directory in Prep Domain
IF InGroup("ShareActive")
USE V: \\server3\Active pwd /User:Prep\activeuser
EndIF

Top
#116546 - 2004-03-22 09:54 PM Re: Map drive in another domain.
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Suggestions for what? What are the problems? Apart form not using quotes and using incorrect USE syntax?
Code:

USE V: '\\server3\Active' /User:Prep\activeuser /Password:pwd

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

Top
#116547 - 2004-03-23 03:24 PM Re: Map drive in another domain.
jetsongr Offline
Fresh Scripter

Registered: 2000-11-22
Posts: 18
Loc: Ann Arbor, MI
Thanks for the new syntax. It is working for xp and 2000 clients but not for 98. What needs to be done for 98 clients? They do map the other drives fine but not the active.
Thanks,
GR

Top
#116548 - 2004-03-23 04:12 PM Re: Map drive in another domain.
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Make sure that the ingroup() is working - Win 9x machines need the RPC service installed on all your domain controllers / login servers and must have the kx95.dll file installed or available on the clients.
Top
#116549 - 2004-03-23 04:35 PM Re: Map drive in another domain.
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Please read the KiXtart Manual and the FAQ Forum with regards to Windows 9x support and the KiXtart KXRPC Server service.
_________________________
There are two types of vessels, submarines and targets.

Top
#116550 - 2004-03-23 04:40 PM Re: Map drive in another domain.
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Quote:

It is working for xp and 2000 clients but not for 98



What isn't wortking? The USE or the InGroup()?

You need to be more concise.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#116551 - 2004-03-23 05:26 PM Re: Map drive in another domain.
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Quote:

You need to be more concise.



Ummm... less concise actually

Top
#116552 - 2004-03-23 06:14 PM Re: Map drive in another domain.
Sealeopard Offline
KiX Master
*****

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


Main Entry: con·cise
Pronunciation: k&n-'sIs
Function: adjective
Etymology: Latin concisus, from past participle of concidere to cut up, from com- + caedere to cut, strike
1 : marked by brevity of expression or statement : free from all elaboration and superfluous detail
2 : cut short : BRIEF
- con·cise·ly adverb
- con·cise·ness noun
synonyms CONCISE, TERSE, SUCCINCT, LACONIC, SUMMARY, PITHY, COMPENDIOUS mean very brief in statement or expression. CONCISE suggests the removal of all that is superfluous or elaborative <a concise description>. TERSE implies pointed conciseness <a terse reply>. SUCCINCT implies the greatest possible compression <a succinct letter of resignation>. LACONIC implies brevity to the point of seeming rude, indifferent, or mysterious <an aloof and laconic stranger>. SUMMARY suggests the statement of main points with no elaboration or explanation <a summary listing of the year's main events>. PITHY adds to SUCCINCT or TERSE the implication of richness of meaning or substance <a comedy sharpened by pithy one-liners>. COMPENDIOUS applies to what is at once full in scope and brief and concise in treatment <a compendious dictionary>.





Concise is not really precise (pun intended) ;-)
_________________________
There are two types of vessels, submarines and targets.

Top
#116553 - 2004-03-23 06:42 PM Re: Map drive in another domain.
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
k, you got me.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#116554 - 2004-03-23 07:08 PM Re: Map drive in another domain.
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
Unless Ruud has worked some magic a Windows 9x system is not capable of supplying different credentials to the network redirector.

If the user already has a valid username and password then it should map, but they can not suppy a different set of credentials.

Top
#116555 - 2004-03-24 10:02 AM Re: Map drive in another domain.
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Nice hit Doc.
Top
#116556 - 2004-03-24 05:06 PM Re: Map drive in another domain.
jetsongr Offline
Fresh Scripter

Registered: 2000-11-22
Posts: 18
Loc: Ann Arbor, MI
Now that you folks have worked out the meaning of concise?!?
It is the Ingroup that is not working. I removed the Ingroup and now have the drive mapped. IS that concise enough? Do you see a problem with the Ingroup syntax??
Thanks,
GR

Top
#116557 - 2004-03-24 05:08 PM Re: Map drive in another domain.
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Is the KXRPC Server service installed on all DCs for Windows 9x support? Does prepending the domain name help? Is the token cache flushed via /f? What si the error code that INGROUP returns? Which OS have problems?
_________________________
There are two types of vessels, submarines and targets.

Top
#116558 - 2004-03-24 09:18 PM Re: Map drive in another domain.
jetsongr Offline
Fresh Scripter

Registered: 2000-11-22
Posts: 18
Loc: Ann Arbor, MI
Jens, Thanks for your help, I'm now mapping based on the "If Ingroup" syntax across domains.
;Map "Active" directory in Prep Domain
IF InGroup("ShareActive")
USE V: '\\server3\Active' /User:Prep\activeuser /Password:pwd
EndIF
One more question, I will try to be concise. Three types of clients Win98, Win2000 and Win XP are all successfully mapping the V drive across domains. Once Win98 and Win2000 Clients are logged on, in Windows Explorer the drive displays as "Active on 'Server3'(V)".
On XP Clients in Windows Explorer the drive displays as "Network Drive(V)". What will it take to make XP display the same as Win98 and Win2000?
Thanks,
GR

Top
#116559 - 2004-03-24 10:03 PM Re: Map drive in another domain.
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Windows XP names the mapped drives differently than Windows 9x/NT/2K. you'll need to use some of the UDFs from the UDF Forum that can rename shares, e.g. MapDrive(), ChangeDriveLabels(), or Label().
_________________________
There are two types of vessels, submarines and targets.

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 484 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.127 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