Page 1 of 1 1
Topic Options
#25837 - 2002-07-26 12:29 AM Get primary group error
verukins Offline
Fresh Scripter

Registered: 2002-07-19
Posts: 5
Kixtart version: 4.10 & 4.11 Beta 1

I've wrriten a script which used if ingroup to assign drive mappings - it is working for most people, however some users are getting a "system registry error" (displayed on local machine) and the following events are logged on the local machine

"The description for Event ID ( 2221 ) in Source ( KIXTART ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: UserGetInfo failed Error : The user name could not be found. (0x8ad/2221)."

and

"The description for Event ID ( 1332 ) in Source ( KIXTART ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: GetPrimaryGroup failed Error : No mapping between account names and security IDs was done. (0x534/1332)."

Please note there are two other associated events too - but they basically say the same thing....

I have checked the user is a member of the group - that the group name is valid - and that they have relogged in since adding them to the group. The script calls a kix32 scriptname /f - so the group cache should be refreshed.

Initially, i thought this was caused by not referencing the domain\group - however i have changed this and the error still occurs.

Any ideas?

Also, giving the user local admin rights seems to fix this - but why is kix accessing the local registry to get domain group memberships?

Thanks

Top
#25838 - 2002-07-26 12:32 AM Re: Get primary group error
verukins Offline
Fresh Scripter

Registered: 2002-07-19
Posts: 5
Sorry - to add, this is occuring on NT4SP6a and Win2k SP2 clients.
Top
#25839 - 2002-07-25 05:24 PM Re: Get primary group error
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
A search on the BBS for the above mentioned event IDs would give you the following posts:
Event ID ( 1332 ) in Source ( KIXTART )
Event ID 5, and 1332 when InGroup is processed.
Kixtart Bug??? + include discussion about "is this the right forum for this topic"
Event Log Errors traced to LocalSystem Service
_________________________
There are two types of vessels, submarines and targets.

Top
#25840 - 2002-07-30 12:03 AM Re: Get primary group error
verukins Offline
Fresh Scripter

Registered: 2002-07-19
Posts: 5
Followed all those threads, actually mailed the post originators - only to find out that their issue had been solved by
1) Making sure the users primary group is domain users (which mine are)
2) Removing the ingroup statement from their scripts.

There are some other suggestions in the posts - such as syntax and Q285903, which i have also checked, however the errors still occur.

FYI for those (if any) are actually interested in what it turned out to be in my case -

If a user machine is a member of DomainA, and the user logging on is a member of DomainB, the group "domain admins" from the users domain (domainB in this example) should be added to the local administrators group on this machine.

If anyone can explain (in reasonable detail) to me why kix requires this, please let me know.

Thanks

Top
#25841 - 2002-07-29 03:32 PM Re: Get primary group error
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
The only thing that I can think of right now would be that you have restrictions on looking up users/groups along the line of the RestrictAnonymous registry key. I know, pretty much a shot in the dark.
_________________________
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 302 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

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