Thankz Scott,
I tried that already directly from the eventlog but there was a 'space' so
it didn't work. It's fixed and works like a charm now on both NT and Windows
2000, but thanks again.
So now I can monitor changes in user groups etc.
After having fixed this problem I got the next and I'm still working on it.
My security script works perfect and fast on NT but is super slow on Windows
2000, is that a problem in win32::eventlog or windows 2000??
Regards.
----- Original Message -----
From: "Scott Campbell" <[EMAIL PROTECTED]>
To: "'Robert-Jan Mora'" <[EMAIL PROTECTED]>; "'Dave Roth'"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, December 27, 2002 2:32 PM
Subject: RE: Win32::AdminMisc module or Win32::Perms
> The following should do what you need:
>
> #!perl
>
> use Win32::Perms;
> $username=Win32::Perms::ResolveAccount('S-1-5-21-3725260815-71594873-113
> 1426265-1002');
> print "User: $username\n";
>
> Scott Campbell
> Senior Software Developer
> Somix Technologies
> (207) 324-8805
> http://www.somix.com
>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of
> Robert-Jan Mora
> Sent: Friday, December 27, 2002 2:44 AM
> To: Dave Roth; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: Win32::AdminMisc module or Win32::Perms
>
>
> Hello all,
>
> Is it possible to resolve SID's from textfiles to usernames? I'm trying
> to parse SID's from the MessageText part of the Eventlog. It isn't
> working right now so any help is appreciated.
>
> Thankz in Advance.
>
> _______________________________________________
> Perl-Win32-Admin mailing list [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
>
>
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs