#152331 - 2005-11-27 01:40 AM
Re: UserGetLocalGroups failed error
|
vosal
Fresh Scripter
Registered: 2005-11-15
Posts: 20
|
Tried also this with no success
|
|
Top
|
|
|
|
#152333 - 2005-11-27 01:49 AM
Re: UserGetLocalGroups failed error
|
vosal
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
Fresh Scripter
Registered: 2005-11-15
Posts: 20
|
Not any longer the forest is native W2K3
|
|
Top
|
|
|
|
#152338 - 2005-11-27 05:00 PM
Re: UserGetLocalGroups failed error
|
Howard Bullock
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.
|
|
Top
|
|
|
|
#152339 - 2005-11-28 12:04 AM
Re: UserGetLocalGroups failed error
|
vosal
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
|
|
|
|
#152342 - 2005-11-29 08:53 AM
Re: UserGetLocalGroups failed error
|
vosal
Fresh Scripter
Registered: 2005-11-15
Posts: 20
|
Ruud, do you see a chance doing so?
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 811 anonymous users online.
|
|
|