Page 1 of 1 1
Topic Options
#15559 - 2001-12-27 02:23 PM InGroup Command
Hema Offline
Fresh Scripter

Registered: 2001-12-18
Posts: 13
Guys..

I am trying to map drives according to the users group membership. I have tested the inGroup command outside the login scrip and am confident that it works with the user. But when I try to run the following ouside the scripts i.e at a dos prompt where the kix32.exe resides it does not work:
----start of script----
if Ingroup ("test1) <>0
use o: "\\servername\share"
endif
-----end of script------

bu the follwong test script works

---start of working test script----
if ingroup ("test1")
?"Hey, you are a member of test1"
else
?"get off the system"
endif
---end of script----


The above works. I am running of a win2000 workstation and am logging on to the domain.
Going to internet explorer and searching for the domain and folder where the scripts are run and then running this from the command prompt. As you may have realise I am new to scripting, but all I want to do is map drives according group member ship. Oh - I miss Novell 5...

I will need win95/98 clients to run the script as well. So please can someone help me with my test scripts??

Top
#15560 - 2001-12-27 02:31 PM Re: InGroup Command
Anonymous
Unregistered


When you want this script works at W9x cliënts you need to run the kxrpc service at your servers.

I understand that you miss Novell but if you didn't use NT for a few months you're missing NT too because you never see a blue screen anymore.

Top
#15561 - 2001-12-27 03:21 PM Re: InGroup Command
Hema Offline
Fresh Scripter

Registered: 2001-12-18
Posts: 13
o.k..for win95 uiw ill do that..but any ideas why they will not work when I run them manually???
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
1 registered (Allen) and 581 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

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