Page 1 of 1 1
Topic Options
#19362 - 2002-04-02 09:38 PM Event ID ( 1332 ) in Source ( KIXTART )
Anonymous
Unregistered


We have been geting this error in the event viewer on our xp computers. The error message is

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. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: LookupAccountSid failed Error : No mapping between account names and security IDs was done. (0x534/1332).

Any help would be great
Thanks

Top
#19363 - 2002-04-03 09:05 AM Re: Event ID ( 1332 ) in Source ( KIXTART )
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
has your script commands or functions that play with sid?
sidtoname probably?
_________________________
!

download KiXnet

Top
#19364 - 2002-04-03 01:08 PM Re: Event ID ( 1332 ) in Source ( KIXTART )
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Hello tpcostello,

Not sure if this is the issue or not, but here is a "similar" Microsoft article.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q285903
At Startup, Error 1332 Occurs, Message Reports Lack of Mapping Between Account Names and Security IDs, Inability to Find Power Users (Q285903)

Normally I've seen this type of error when you run some command or tool in the wrong user context. i.e. Like trying to do something as:

\\myserver\mycommand instead of
runas \\myserver\mycommand /user:mydomain\myaccount

Meaning that the system does not know the account to use so it issues a mapping error like this.

What is your code doing during or before this happens?

Top
#19365 - 2002-04-03 01:33 PM Re: Event ID ( 1332 ) in Source ( KIXTART )
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
ntdoc, this is rather enlightning post.
it points as a little towards the long-been-here issue about task automation through at-service.
was it 1312...
_________________________
!

download KiXnet

Top
#19366 - 2002-04-03 06:45 PM Re: Event ID ( 1332 ) in Source ( KIXTART )
Anonymous
Unregistered


Lonkero & NTDOC,

No, my script has no funcions that play with the SID.

Here is my script:
_________________________________________________
;
; Program: Kixtart.kix
; Revision: 3.0
; Developers: RKF and TC
;
; debug on

;
; Scroll through the network adapters until we find one for the LAN
;
$PTR = 0
DO
$IP = ENUMIPINFO($PTR,0)
$PTR = $PTR + 1
UNTIL LEFT($IP,3) = "192"

;
; Parse the left portion to signify the site
;
; 183 = CMI
; 184 = WFG
; 185 = HLT
;
$I=LEFT($IP, 11)

;
; Delete the drives that are mapped globally
;

:DELETE_THE_DRIVE_MAPS
USE G: /DELETE /PERSISTENT:YES
USE I: /DELETE /PERSISTENT:YES
USE L: /DELETE /PERSISTENT:YES
USE M: /DELETE /PERSISTENT:YES
USE S: /DELETE /PERSISTENT:YES
USE U: /DELETE /PERSISTENT:YES

:MAP_THE_DRIVES

;
; CMI Mappings
;
IF $I ="192.168.183"
Use g: "\\cmi-server-1\Common"
Use i: "\\cmi-server-1\dbase"
Use l: "\\cmi-server-1\DataCMI"
Use m: "\\cmi-server-1\AMSI"
Use s: "\\cmi-server-1\Sky_CMI"
Use u: "\\cmi-server-1\utilitiesCMI"
SELECT
CASE @PRODUCTTYPE= "Windows XP Professional"
Use x: "\\Snappy\LBU"+$u
Use y: "\\snappy\mstrdocument"
Use lpt2: "\\cmi-server-1\okidata2410 /persistent:yes"
Use t: "\\snappy\TechLibrary"
CASE @PRODUCTTYPE= "Windows 2000 Professional"
Use x: "\\Snappy\LBU"+$u
Use y: "\\snappy\mstrdocument"
Use lpt2: "\\cmi-server-1\okidata2410 /persistent:yes"
Use t: "\\snappy\TechLibrary"
ENDSELECT
ENDIF

;
; WFG Mappings
;
IF $I ="192.168.184"
use g: "\\WFG-Server-1\commonwfg"
use i: "\\WFG-Server-1\dbasewfg"
use l: "\\WFG-Server-1\datawfg"
use m: "\\WFG-Server-1\amsiwfg"
use s: "\\WFG-Server-1\skylinewfg"
use u: "\\WFG-Server-1\utilitieswfg"
use x: "\\WFG-Server-1\localbackup"
ENDIF

;
; HLT Mappings
;
IF $I ="192.168.185"
use g: "\\HLT-SERVER-1\commonhlt"
use i: "\\HLT-SERVER-1\dbasehlt"
use l: "\\HLT-SERVER-1\datahlt"
use m: "\\HLT-SERVER-1\amsihlt"
use s: "\\HLT-SERVER-1\Skylinehlt"
use x: "\\HLT-SERVER-1\localbackup"
use u: "\\HLT-SERVER-1\utilitiesHLT"
ENDIF

:MAP_HOME_DRIVE

;
; Get the User ID
;
$U=@USERID

IF InGroup( "Citadel Users" )
$HOME="\\CMI-SERVER-1\"+$U
ENDIF

IF InGroup( "Woodfield Users" )
$HOME="\\WFG-SERVER-1\"+$U
ENDIF

IF InGroup( "Hinsdale Users" )
$HOME="\\HLT-SERVER-1\"+$U
ENDIF

USE H: $HOME

:ENDOFIT
; debug off
EXIT
________________________________________________

Nothing too complex going on here. But the wrong user context may be my issue.
But, now that you mentioned the SID, I rmember we were concerned when we used Ghost to copy hard drives with windows XP we were worried about the SID. Dont know if they are related yet.
Thanks for the help.

Top
#19367 - 2002-04-03 06:46 PM Re: Event ID ( 1332 ) in Source ( KIXTART )
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Not sure Lonkero,

I've also seen this type of "mapping" error when you don't supply the command line syntax correctly. Can't think of a valid one to demonstrate right off the top of my head, but something like this.

WRONG
MYCOMMAND /switchA:This Is A Test

CORRECT
MYCOMMAND /switchA:"This Is A Test"

The syntax wanted something like quotes or some other method of running the command, but you ran it incorrectly, so it gave back this mapping account error. In general I think that is the bottom line, the computer has been told to do something one way or another, and either it does not know the account to use because it does not support it, or it can not find it, or you supplied the information to it incorrectly.

Tpcostello, what say you? Is it possible your script is trying to do something like this?

[ 03 April 2002, 18:47: Message edited by: NTDOC ]

Top
#19368 - 2002-04-03 06:55 PM Re: Event ID ( 1332 ) in Source ( KIXTART )
Anonymous
Unregistered


Looks like I just missed you, NTDoc. Take a look at my script if you can. I'm not doing any commands on the server.
Top
#19369 - 2002-04-03 08:19 PM Re: Event ID ( 1332 ) in Source ( KIXTART )
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
You're trying to use $U before you even populate it.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#19370 - 2002-04-03 09:25 PM Re: Event ID ( 1332 ) in Source ( KIXTART )
Anonymous
Unregistered


LLigetfa,
I am? I dont see what you mean. The first time im using $U is in the 'map the home drive' section, and populate it with the @USERID function. Am I missing something?

Top
#19371 - 2002-04-03 09:44 PM Re: Event ID ( 1332 ) in Source ( KIXTART )
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
tpcostello,

Have you thought about changing your $U variable from:
$U=@USERID

To be:
$U=@USERID +"$$"

That is, if your users have hidden shares.

Thanks!

- Kent

[ 03 April 2002, 21:45: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#19372 - 2002-04-03 10:20 PM Re: Event ID ( 1332 ) in Source ( KIXTART )
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Reading the script from the top down... I believe this is how KiX does...

At the top:
; Program: Kixtart.kix
...
:DELETE_THE_DRIVE_MAPS
...
:MAP_THE_DRIVES
...
Use x: "\\Snappy\LBU"+$u ;used here not yet assigned
...
:MAP_HOME_DRIVE
...
$U=@USERID ;assigned here
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#19373 - 2002-04-03 10:59 PM Re: Event ID ( 1332 ) in Source ( KIXTART )
Anonymous
Unregistered


The "LookupAccountSid failed Error" happens in the event viewer at this part of the script

IF InGroup( "Woodfield Users" )
$HOME="\\WFG-SERVER-1\"+$U
ENDIF

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 507 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.06 seconds in which 0.023 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