Page 1 of 1 1
Topic Options
#106005 - 2003-10-15 01:26 PM Problems with INGROUP()
Wokkeltje Offline
Fresh Scripter

Registered: 2002-08-12
Posts: 31
Loc: Torhout, Belgium
I have a strange problem with the INGROUP(), On 2 laptops the INGROUP will not work, because the TokenCache is not complete.

Strange because all the PC's are installed with the same unattended installation, so all the PC's are identical. On the other 140 PC's the INGROUP is working fine.

The rest of the script is working fine.

It are all Windows2000 machines on a Windows2000 domain with AD.
If the user logs on to an other PC, the INGROUP() statement is working fine.

Could someone have an idea how to solve the problem?

tnx

Top
#106006 - 2003-10-15 01:46 PM Re: Problems with INGROUP()
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
All hardware is also the same? Different versions of NIC drivers or complete different NIC's?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#106007 - 2003-10-15 01:48 PM Re: Problems with INGROUP()
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Delete the token cache registry key and let it rebuild.

HKEY_CURRENT_USER\Software\KiXtart\TokenCache

Have you tried this?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#106008 - 2003-10-15 01:51 PM Re: Problems with INGROUP()
Wokkeltje Offline
Fresh Scripter

Registered: 2002-08-12
Posts: 31
Loc: Torhout, Belgium
It is different hardware.
But PC's with the same hardware have no problem with the INGROUP()

But it needs to be a problem on the PC, because when I log on with a different user, the problme persists.

Top
#106009 - 2003-10-15 01:53 PM Re: Problems with INGROUP()
Wokkeltje Offline
Fresh Scripter

Registered: 2002-08-12
Posts: 31
Loc: Torhout, Belgium
The key was already deleted.

I also use the /F parameter.

Top
#106010 - 2003-10-15 01:58 PM Re: Problems with INGROUP()
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Wierd. INGROUP() fails for every user (also Admin) who logs onto the specific laptops?
Could you post your code?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#106011 - 2003-10-15 02:00 PM Re: Problems with INGROUP()
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Is there any commonality to subnet and the failure.

What KiXtart version and files are you using? Are the file(s) installed locally of are they executed from a network share.

What type of group(s) is the INGROUP function failing to understand?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#106012 - 2003-10-15 02:10 PM Re: Problems with INGROUP()
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
quote:

Weird. INGROUP() fails for every user (also Admin) who logs onto the specific laptops?

Doh! [Embarrassed] you said this already.

But, could you post some code and the kix version and location it runs from (like howard asked above). More info would help us help you.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#106013 - 2003-10-15 02:14 PM Re: Problems with INGROUP()
Wokkeltje Offline
Fresh Scripter

Registered: 2002-08-12
Posts: 31
Loc: Torhout, Belgium
code:
	If InGroup("Mareen-G-Administrators")
Use k: "\\marefile1\admins$$" /PERSISTENT
Use l: "\\marefile1\install$$" /PERSISTENT
EndIf

It is a simple check I think. The problem is for every Global Group in the AD, because it is working on an other PC.

Kix version 4.21

Every PC has the same version of Kix, and runs the script from the network. The kix execute is available on the local PC

Top
#106014 - 2003-10-15 02:15 PM Re: Problems with INGROUP()
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Try adding the domain name to the group name.

InGroup("DomainName\Mareen-G-Administrators")

[ 15. October 2003, 14:16: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#106015 - 2003-10-15 02:17 PM Re: Problems with INGROUP()
Wokkeltje Offline
Fresh Scripter

Registered: 2002-08-12
Posts: 31
Loc: Torhout, Belgium
The strange thing is that the TokenCache on those 2 PC's is almost empty, only local groups are in.
So there is nothing about the membership of Domain Groups.

Top
#106016 - 2003-10-15 02:18 PM Re: Problems with INGROUP()
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Also read through these links:
http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=2;t=002804#000000
http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=2;t=002805#000000
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#106017 - 2003-10-15 02:19 PM Re: Problems with INGROUP()
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Then you may have a DNS problem. The groups get added via communication to the Global Catalog server I think. Verify with a network trace that the computer are talking properly to the GC.

[ 15. October 2003, 14:20: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#106018 - 2003-10-15 02:27 PM Re: Problems with INGROUP()
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Check your protocols and provider order.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#106019 - 2003-10-15 02:41 PM Re: Problems with INGROUP()
Wokkeltje Offline
Fresh Scripter

Registered: 2002-08-12
Posts: 31
Loc: Torhout, Belgium
how can I check what the Global Catalog server is? Because I am not a domain administrator.
Top
#106020 - 2003-10-15 04:22 PM Re: Problems with INGROUP()
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Use NETDIAG from the support tools.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


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

Who's Online
1 registered (Allen) and 1607 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.07 seconds in which 0.029 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