Page 1 of 1 1
Topic Options
#19830 - 2002-04-11 11:20 PM Once and for all - IF INGROUP on 9X?
MillerDuck Offline
Fresh Scripter

Registered: 2002-04-11
Posts: 5
Is it possible to successfully utilize the INGROUP command to identify group memberships on Win 9X clients, WITHOUT having to run KIXRPC?

I have seen conflicting posts about this.

Thanks for any input you have.

Chris Miller

Top
#19831 - 2002-04-11 11:36 PM Re: Once and for all - IF INGROUP on 9X?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Hello Chris and welcome to the board.

According to an email I got from Ruud, he says you can identify all group membership except local group membership...

I would take that to mean that GLOBAL groups will work (maybe even UNIVERSAL), but NT Member Servers that have their own local groups can not be resolved by a Windows 9x system without the KXRPC service.

The following also will not be available without it.

@SID
@PRIMARYGROUP

Top
#19832 - 2002-04-12 05:32 PM Re: Once and for all - IF INGROUP on 9X?
MillerDuck Offline
Fresh Scripter

Registered: 2002-04-11
Posts: 5
Thanks for the info, however I can't make it work. AARGH!

Here is a copy of the basic test script I am trying to get to work:

IF INGROUP ("AGH Kronos users")
USE K: /DELETE /PERSISTENT
USE K: "\\shs-agh\kronos" /PERSISTENT
ELSE
USE T: /DELETE /PERSISTENT
USE T: "\\TECH2K\PUBLIC" /PERSISTENT
ENDIF

On 9X devices it always fails over to the Else mappings. The group I am checking against is a Global group in the login domain. I have verified all Case sensitivity with the group name as well. Any ideas?

Thanks,
Chris Miller

[ 12 April 2002, 17:36: Message edited by: MillerDuck ]

Top
#19833 - 2002-04-12 05:35 PM Re: Once and for all - IF INGROUP on 9X?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
hmmm, can you explain what prevents the Installation of KXrpc ?

Is there an Issue with your environment ?

Jochen
_________________________



Top
#19834 - 2002-04-12 05:40 PM Re: Once and for all - IF INGROUP on 9X?
MillerDuck Offline
Fresh Scripter

Registered: 2002-04-11
Posts: 5
Nothing is preventing the installation of RPC other than the desire to simplify the environment as much as possible.

The fewer services we run on the DCs along with fewer files on the clients the better.

If RPC HAS to be installed, so be it. However I would prefer not to.

Thanks,
Chris Miller

Top
#19835 - 2002-04-12 05:55 PM Re: Once and for all - IF INGROUP on 9X?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Jochen,

According to email from Ruud the Win9x should be able to decern GLOBAL groups without KXRPC.

Chris,
When you say logon Domain, all NT/2000 systems appear to work okay with this INGROUP call?

How about making a different test case.

Make a GLOBAL group named TESTING
and add the account you want to try into this group. Then logon to this Windows 9x system and rename all of the *.PWL file in %windir% to *.PW_ and verify that system is logged onto the network.

Don't even try mapping for now. Create a test script called MYTEST.KIX and copy it to this Windows 9x system locally along with the KIX32.EXE and KIX .DLL files, all in the same C:\TESTING folder.
Then at a DOS prompt:
c:\testing> KIX32.EXE MYTEST.KIX /F

code:
IF INGROUP("TESTING")
? "User was found"
ELSE
? "User not found"
ENDIF
? @ERROR

Let us know what happens here.

Top
#19836 - 2002-04-12 06:42 PM Re: Once and for all - IF INGROUP on 9X?
kholm Offline
Korg Regular
*****

Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
Chris,

I totally agree with your opinion on sevices, run as few as possible!

The KxRpc service is one of the excepts for me.

I havent heard of any situations where the KxRpc service was in any way the culprit of:
forcing the server to cloce, taking over the CPU(Time) or in any other way disturb the
network/server.

AND I don't have to reread the manual for every new relase of KiXtart to see if my script-problems
has something to do with changes in the KxRpc-service or the Win9x-DLL's.
As long as i upgrade the KxRpc-service and Win9x-DLL's every time i upgrade to a new public release,
i have never expirienced any problems.

Summing this up:
I would advice you to install the service and use the Win9x-DLL's as long as you have Win9x clients
on your network, at least your script-errors will not come from unsupported functions and macros on
Win9x-clients.

-Erik

Top
#19837 - 2002-04-12 07:12 PM Re: Once and for all - IF INGROUP on 9X?
MillerDuck Offline
Fresh Scripter

Registered: 2002-04-11
Posts: 5
NTDOC,

I tried what you suggested step by step and the script returns:

User not found
0

Any other ideas?

Thanks,
Chris Miller

Top
#19838 - 2002-04-12 09:18 PM Re: Once and for all - IF INGROUP on 9X?
Rocco Capra Offline
Hey THIS is FUN
*****

Registered: 2002-04-01
Posts: 380
Loc: Mansfield Ohio
I have to agree with Kholm, we have 18 domain controllers on our network all running the KxRPC service, for over a year now (with one upgrade to 4.02) and they have never had a problem from this service. It sure makes WIN9X run sweeter with the login scripts.

Rocco
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro

Top
#19839 - 2002-04-12 09:37 PM Re: Once and for all - IF INGROUP on 9X?
MillerDuck Offline
Fresh Scripter

Registered: 2002-04-11
Posts: 5
I made it work! I did not wait long enough for the group membership to update on the BDCs before testing the script. I think I am in the clear now.

Thank you all for your help. Can anyone give me examples of things I will not be able to do without KxRPC?

Thanks,
Chris Miller

[ 12 April 2002, 21:38: Message edited by: MillerDuck ]

Top
#19840 - 2002-04-12 10:57 PM Re: Once and for all - IF INGROUP on 9X?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Chris,

That's great glad to hear it worked...(Ruud said it would).

It would fail if you tried to query against a specific server that was not a Domain controller.

i.e IF INGROUP("\\MYSTANDALONE_MEMBERSERVER\TESTGROUP")
? "Found User"
ELSE
? "User Not found"
ENDIF

On NT/2000/XP it would be possible to find membership, but Windows 9x would not be able to.

Top
#19841 - 2002-04-18 03:02 AM Re: Once and for all - IF INGROUP on 9X?
netixpc Offline
Fresh Scripter

Registered: 2002-02-13
Posts: 19
Loc: Lausanne - Switzerland
If you don't want to install KXRPC on all the DCs (because of too many DCs or no permissions to do it), you can always install the KXRPC on two different servers (eg: fileservers) and specify a kixtart.ini file in the netlogon specifying were to use the KXRPC services.

Hope this can help someone.
_________________________
SAVE THE WORLD - PROTECT THE PLANET

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 756 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.067 seconds in which 0.027 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