Re: Subject: Security Event Log reading by Domain Users
From: Joe Richards [MVP] (humorexpress_at_hotmail.com)
Date: 07/13/04
- Next message: pittspeed: "Re: Folder Permissions - delete"
- Previous message: KVFLTCH: "Re: Best Practice Guide-services!"
- In reply to: Gera: "Subject: Security Event Log reading by Domain Users"
- Next in thread: Gera: "Re: Subject: Security Event Log reading by Domain Users"
- Reply: Gera: "Re: Subject: Security Event Log reading by Domain Users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 13 Jul 2004 10:03:19 -0400
Security logs are locked off from non-admins by default. You only need to add
Manage Auditing and Security Log right to see them, however that means that
account will also be able to clear the security log. In XP and 2K3 you can get
more granular and just offer read.
However your next issue is because the program can't read the Message Library or
the registry entries involved. It has been a long time since I wrote event log
code but if you are using the standard OpenEventLog/ReadEventLog and then using
FormatMessage you will need to redirect the library from which you do the
LoadLibrary for for the message IDs OR open up the security to the message
library on the remote machine.
joe
-- Joe Richards Microsoft MVP Windows Server Directory Services www.joeware.net Gera wrote: > Is it possible to normally read Sec. Event Log under Domain User account? > We wrote a simple application which reads 538, 540, 528, etc. events and counts them. > Under administrative account it works fine, but under Domain User can't open sec. log. > Adding a "Manage auditing and sec. log" and "Act as the part of oper. system" settings via GP > permits to view sec. log, but events are read like > "The description for Event ID ( 538 ) in Source ( Security ) 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: pmtest; COMPANY; (0x0,0x5A968); > 11." > Thus, our software doesn't work - it can't read the events. > > I added all possible rights to the Domain User account, from "Create a Token Object" to "Generate > Security audits", but no luck. > I heard that domain user account maybe need some rights to read some reg. key with Event Log message > library, but I don't know which exactly... > > Is it possible to make this work? > > > Thanks, > Gera, MCSE > MGBaltic > > >
- Next message: pittspeed: "Re: Folder Permissions - delete"
- Previous message: KVFLTCH: "Re: Best Practice Guide-services!"
- In reply to: Gera: "Subject: Security Event Log reading by Domain Users"
- Next in thread: Gera: "Re: Subject: Security Event Log reading by Domain Users"
- Reply: Gera: "Re: Subject: Security Event Log reading by Domain Users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|