Page 2 of 2 <12
Topic Options
#152330 - 2005-11-27 01:26 AM Re: UserGetLocalGroups failed error
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Were you careful to use uppercase and pad it out with spaces?
10.10.10.10 "123456789012345\0x1b" #PRE #Domain must be padded to 15 chars and in UC
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#152331 - 2005-11-27 01:40 AM Re: UserGetLocalGroups failed error
vosal Offline
Fresh Scripter

Registered: 2005-11-15
Posts: 20
Tried also this with no success
Top
#152332 - 2005-11-27 01:45 AM Re: UserGetLocalGroups failed error
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Do you have pre-Windows 2000 compatibility enabled?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#152333 - 2005-11-27 01:49 AM Re: UserGetLocalGroups failed error
vosal Offline
Fresh Scripter

Registered: 2005-11-15
Posts: 20
Additonallly I did run netcap before starting the script.
There is this interesting information showing shortly after the call for kix32


TLOSS error
SING error
DOMAIN error
R6029
- This application cannot run using the active version of the Microsoft .NET Runtime
Please contact the application's support team for more information.
R6028
- unable to initialize heap
R6027
- not enou 4    3 4O E @ }e!4܌P)oT~c1P# gh space for lowio initialization
R6026
- not enough space for stdio initialization
R6025
- pure virtual function call
R6024
- not enough space for _onexit/atexit table
R6019
- unable to open console device
R6018
- unexpected heap error
R6017
- unexpected multithread lock error
R6016
- not enough space for thread data

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
R6009
- not enough space for environment
R6008
- not enough space for arguments
R6002
- floating point not loaded
Microsoft Visual C++ Runtime Library

Runtime Error!

Program: ... rB vB HH:mm:ss dddd, MMMM dd, yyyy MM/dd/yy PM AM December November October September August July June April March February January Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan Saturday Friday Thursday Wednesday Tuesday Monday Sunday Sat Fri Thu Wed Tue Mon Sun Program: A buffer overrun has been detected which has corrupted the program's
internal state. The program cannot safely continue execution and must
now be terminated.
Buffer overrun detected! A security error of unknown cause has been detected which has
corrupted the program's internal state. The program cannot safely
continue execution and must now be terminated.
Unknown secur 4 6 6 4O  3 E (@ K4!T~c1P/#P 4    3 4O E @ }e!4܌P/#T~c1P#v ity failure detected! B B 1#QNAN 1#INF 1#IND 1#SNAN GetProcessWindowStation GetUserObjectInformationA GetLastActivePopup GetActiveWindow MessageBoxA user32.dll `B dB B B SunMonTueWedThuFriSat JanFebMarAprMayJunJulAugSepOctNovDec B B H C pCC  T , DG vH  (G H  4H I  $H jI  E P  G zR 0 @H R  dD V  LH V  LG V  U U ~U jU U U U U NU 4U U U T T T T T T T tT `T VT DT 4T "T
T S S S S S S tS bS RS @S .S S
S R R R U U K K K K K K K
L (L FL dL xL L L L L L L L M $M
Top
#152334 - 2005-11-27 01:50 AM Re: UserGetLocalGroups failed error
vosal Offline
Fresh Scripter

Registered: 2005-11-15
Posts: 20
Not any longer the forest is native W2K3
Top
#152335 - 2005-11-27 03:29 PM Re: UserGetLocalGroups failed error
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Interesting error message as KiXtart does not utilize the Microsoft .NET Runtime

Have you tried a completely stripped down KiXtart script utilizing just a screen print-out then with and without the INGROUP call? I, too, doubt, that KiXtart itself is to blame.
_________________________
There are two types of vessels, submarines and targets.

Top
#152336 - 2005-11-27 03:55 PM Re: UserGetLocalGroups failed error
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
It would be interesting to get Ruud's input on whether KiX requires WINS or pre-Windows 2000 compatibility enabled. I asked him to look at this thread.

My AD has both and I run an *empty root* model with just two domains, one of which is the empty root, with all the resouces in the second domain. I am also curious whether populating the *search suffix* would mitigate the issue but vosal has neither confirmed nor denied that.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#152337 - 2005-11-27 04:12 PM Re: UserGetLocalGroups failed error
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Jens,
I believe it is netcap that is using the .net runtime, not KiX as you also pointed out.

I did bring to Ruud's attention, an issue some time ago with W2K3 and received the following:
Quote:

Did some quick and dirty research, and it would seem the cause may be an
issue in Windows 2003 (something to do with deny-ACE's on AD data)



Not sure what the final outcome was as I only got an internal number and no KB number. I am not suggesting that issue is in any way related, just that KiX may have certain requirements for ACEs on AD data that we are not clear on.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#152338 - 2005-11-27 05:00 PM Re: UserGetLocalGroups failed error
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
We also use WINS. But implemented a master domain model where the user account all exist in the parent domain and computers live in country level resouce domains. We do no see the problem you describe.


When I have seen the error you listed in other application dev work, it has always been name resolution issues.

What happens if you use "domain.com\GroupName" where domain.com is the filly qualified domain name. I am not sure if KiXtart would handle this or not.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#152339 - 2005-11-28 12:04 AM Re: UserGetLocalGroups failed error
vosal Offline
Fresh Scripter

Registered: 2005-11-15
Posts: 20
Les, sorry that I did not reply on the dns search suffix.
The search suffix should only be necessary for omitting the domain part machine names.
Also as we are dealing with 10+ and still raising subdomains who shall catch up with the GPO's?

As mentioned I had also a problem with the users description which I solved getting the users object with LDAP lookup.
Playing arround and looking up the other solution I created this little hardcoded script which is enumerating the groups nicely. It is not dealing with nested groups but could be implemented too.
The script uses the LDAP ADSI
When I try to use WINNT:// the script fails. Maybe this help's Ruud to walk trough.
Maybe it had been an illusion trusting that WINS is no longer needed.

Option Explicit
Dim objGroup, objUser
Dim strLDAP

' Commands to bind to AD and extract domain name

' Build the LDAP DN from strUser, strOU and strDNSDomain
strLDAP ="LDAP://CN=admin,CN=Users,DC=SUBA,DC=XYZ,DC=com"

Set objUser = GetObject(strLDAP)
WScript.Echo "Groups for " & objUser.distinguishedName & vbCr

For Each objGroup in objUser.Groups

WScript.Echo objGroup.name
Next


WScript.Quit

Top
#152340 - 2005-11-28 12:28 AM Re: UserGetLocalGroups failed error
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
A few well placed lmhosts entries should confirm or discount the need for WINS. AFAIK, lmhosts is just as effective as WINS for testing.

I do know the purpose of the search suffix and don't at this point suggest you need to deploy it forest-wide. My thought was that if a call was made that lacked the suffix, the search suffix list would be tried one-by-one until exhausted. You could manually populate the search list for testing purposes. If that works, you can then consider populating by a GPO.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#152341 - 2005-11-28 12:44 AM Re: UserGetLocalGroups failed error
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I guess we could always ask Ruud to add support for the format:
InGroup('domain.whatever.tld\groupname')

AFAIK, it doesn't work now.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#152342 - 2005-11-29 08:53 AM Re: UserGetLocalGroups failed error
vosal Offline
Fresh Scripter

Registered: 2005-11-15
Posts: 20
Ruud, do you see a chance doing so?
Top
#152343 - 2005-11-29 01:58 PM Re: UserGetLocalGroups failed error
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
These errors (53) indicate that the client fails to connect with a domain controller of the logon domain.

Please check the value of @LSERVER and verify that you can connect with this server from the client (using PING, for example). Doing so requires name resolution to work correctly. Depending on the environment, name resolution can only use DNS or may require WINS. If you only want to use DNS, you may need to add the domain-suffix of the logon domain to the DNS suffix list on the client.

Let me know if this helps.

Kind regards,

Ruud

Top
Page 2 of 2 <12


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

Who's Online
1 registered (Allen) and 675 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.066 seconds in which 0.026 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org