Re: Subject: Security Event Log reading by Domain Users

From: Gera (gera_nospam_at_lu.lt)
Date: 07/14/04


Date: Wed, 14 Jul 2004 10:45:48 +0300

Thanks for repsonse.
The point is, our "program" is a SQL script run trough Microsoft Log Parser.
Is it possible to solve the problem in this case (using MS LP and any Windows settings)
or we will need to rewrite an app in C++ using WinAPI functions?

Thanks,

-- 
Gera
"Joe Richards [MVP]" <humorexpress@hotmail.com> wrote in message
news:ekVsJLOaEHA.3716@TK2MSFTNGP11.phx.gbl...
> 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
> >
> >
> >
>


Relevant Pages

  • Re: Subject: Security Event Log reading by Domain Users
    ... account will also be able to clear the security log. ... Event Log under Domain User account? ... > Adding a "Manage auditing and sec. log" and "Act as the part of oper. ... > I added all possible rights to the Domain User account, from "Create a Token Object" to "Generate> Security audits", but no luck. ...
    (microsoft.public.win2000.security)
  • RE: Event ID 643
    ... After researching the event log, I have found the Caller User Name is ... CSMONITOR$ in the security log, it seems the system has raised this error. ... Event log 1704 has indicated that security policy in the Group policy ...
    (microsoft.public.win2000.security)
  • RE: Event ID 643
    ... I set up another machine in a lab the same way as our DATACENTERNYC machines ... with IIS and the local security policy. ... > Thanks for the event log! ... > CSMONITOR$ in the security log, it seems the system has raised this error. ...
    (microsoft.public.win2000.security)
  • Write event log entries from host to domain controller
    ... event log to another machine (like a domain controller)? ... entries from the host's log were written to the DC's security log! ... I could always have this security event log forwarder ...
    (microsoft.public.scripting.vbscript)