Gerwin Lubbers
(Lurker)
2002-08-15 10:34 AM
Ingroup function

On several Win9x-pc's, the ingroup-function doesn't work properly.
I'm using the following commands:

If InGroup(("PL") OR InGroup("TEK"))
Use F: "\\SERVER1\CAD"
Use K: "\\SERVER1\PRESENTATIE"
EndIf

The groups are local groups.
On de DC's, the KXRPC-service is running.

How can I fix it?

TIA

Gerwin


Howard Bullock
(KiX Supporter)
2002-08-15 01:42 PM
Re: Ingroup function

If these are "local groups" then you will have to prefix them with the servername. something like:

If InGroup(("@Lserver\PL") OR InGroup("@Lserver\TEK"))


Kdyer
(KiX Supporter)
2002-08-15 02:13 PM
Re: Ingroup function

Further to Howard's post..

If you are using Kixtart 4.10 or greater, you can do:

If InGroup("@Lserver\PL","@Lserver\TEK")

..

From the docs:
quote:

IF INGROUP("Domain Users")
DISPLAY "z:\users.txt"
ENDIF

IF INGROUP("Developers", "Testers") = 1
? "Member of Developers OR Testers group"
ENDIF

IF INGROUP("Developers", "Testers", 1) = 1
? "Member of Developers AND Testers group"
ENDIF

$Array = "Developers", "Testers"
IF INGROUP($Array, 1) = 1
? "Member of Developers AND Testers group"
ENDIF

HTH,

Kent

[ 15. August 2002, 14:14: Message edited by: kdyer ]


Gerwin Lubbers
(Lurker)
2002-08-15 02:20 PM
Re: Ingroup function

OK, I'll try it!

Thnx!

Gerwin


Sealeopard
(KiX Master)
2002-08-15 03:10 PM
Re: Ingroup function

You might also want to check that the KiXtart DLLs have the correct version number on the clients and that there's only a single set of DLLs.

Les
(KiX Master)
2002-08-15 03:11 PM
Re: Ingroup function

If there's a NetWare client, you may need to swap provider order.

Gerwin Lubbers
(Lurker)
2002-08-15 03:25 PM
Re: Ingroup function

The DLLs are always the right: They are everytime copied to the clients from a DC.
The DC's are replicating the NETLOGON-share.
We have no Netware clients.

Regards
Gerwin


Howard Bullock
(KiX Supporter)
2002-08-15 03:26 PM
Re: Ingroup function

Did you put the server reference in front of the group name?

MCA
(KiX Supporter)
2002-12-02 03:40 PM
Re: Ingroup function

Solved? Did you get a solution. Please return a status update.
greetings.