Ladies and Gentlemen,

Having a bit of trouble with resolving the following SID.  Or any remote
SID for that matter.  IF the SID is on my machine and the remote machine no
problem.  For example the SID for administrator or Guest.  In this example
the SID is for the Server Operators Group which is on Windows 2000 Server
but not my Win 2000 Workstation.  Nothing comes back.  Any thoughts?

Thanks in advance to those who post.


use Win32::Perms;

my $server = shift || Win32::NodeName;
my $sid = 'S-1-5-32-549';

        print "$sid , $server\n";
        my $resolved = Win32::Perms::ResolveAccount($sid,"\\\\$server");
        my $straight =
Win32::Perms::ResolveAccount('S-1-5-32-549','\\127.0.0.2');
        print "resolved $resolved 2nd
$straight\n";


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to