ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-admin
perl-win32-admin
Re: Win32::AdminMisc module or Win32::Perms
by Robert-Jan Mora other posts by this author
Dec 27 2002 7:59PM messages near this date
view in the new Beta List Site
Win32::AdminMisc module or Win32::Perms | RE: Win32::AdminMisc module or Win32::Perms
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" <scottc@[...].com> 
To: "'Robert-Jan Mora'" <rob@[...].nl> ; "'Dave Roth'"
<rothd@[...].Net> ; <perl-win32-admin@[...].com>
Cc: <perl-win32-users@[...].com> ;
<activeperl@[...].com> 
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: perl-win32-admin-admin@[...].com
>  [mailto:perl-win32-admin-admin@[...].com] On Behalf Of
>  Robert-Jan Mora
>  Sent: Friday, December 27, 2002 2:44 AM
>  To: Dave Roth; perl-win32-admin@[...].com
>  Cc: perl-win32-users@listserv.activestate.com;
>  activeperl@[...].com
>  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 Perl-Win32-Admin@[...].com
>  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
> 
> 

_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Dave Roth
Robert-Jan Mora
Scott Campbell
Scott Campbell
Robert-Jan Mora
Scott Campbell

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved