RE: s::LocalGroupGetMembers

From: Perl.Org (perl.org_at_jpw3.com)
Date: 06/29/04


To: <beginners@perl.org>
Date: Tue, 29 Jun 2004 12:50:14 -0400

Thanks. So I have to pass the SID to some other function to get the actual
username? or call a different function? I tried
LocalGroupGetMembersWithDomain (which should give domain\users) but it's not
any better and it returns non-zero (error) without providing any information
about the error?

On Mon, 28 Jun 2004 17:37:12 -0700, Tim Johnson wrote
> That's because the SID is stored in binary, and when you try to print
> it, it tries to convert that binary value into a series of
> characters, one of which is the beep sound (I know it doesn't make
> any sense, but it's true).
>
> > Subject: Win32::NetAdmin::LocalGroupGetMembers
> > Date: Fri, 25 Jun 2004 17:40:05 -0400
> > From: "perl.org" <perl.org@jpw3.com>
> > To: beginners@perl.org
> >
> > I need to get the members of a local group on a Windows 2000 server.
> I was
> > reading the docs for Win32::NetAdmin
> > (http://perlhelp.web.cern.ch/PerlHelp/site/lib/Win32/NetAdmin.html)
> which
> > looks like the place to start, but it is giving me weird results
> (including
> > beeps). Any suggestions? SIDs I could understand, but a repeated
> binary
> > value is a little weird.



Relevant Pages

  • RE: Win32::NetAdmin::LocalGroupGetMembers
    ... That's because the SID is stored in binary, and when you try to print ... it, it tries to convert that binary value into a series of characters, ... one of which is the beep sound (I know it doesn't make any sense, ... > I need to get the members of a local group on a Windows 2000 server. ...
    (perl.beginners)
  • Re: ASP.NET User.Identity.Name value after a domain username chang
    ... Can you point me to any resources I can use about getting the SID of the ... WebRequest user without using the username as the base of a lookup (since I ... access a website on the server. ... I have a very confusing issue when the domain login of a user is changed ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: sessions numbers
    ... > select username, countfrom v$session group by username; ... Your count, from v$session, provides the number of sessions each ... SQL> select username, sid, count ...
    (comp.databases.oracle.server)
  • Re: Finding out particular admin username!
    ... in the second command you add 500 (admin account ... always ends in 500) to find out true name of admin account. ... Length of SID in memory is 28 bytes ... account username) ...
    (microsoft.public.security)
  • Timestamp SQL question
    ... Assuming I have only one connection as SYS: ... select username, sid, serial#, logon_time, to_timestamp ... How can I compare timestamps in a where clause? ...
    (comp.databases.oracle.server)