RE: s::LocalGroupGetMembers
From: Perl.Org (perl.org_at_jpw3.com)
Date: 06/29/04
- Next message: Charles K. Clarkson: "RE: Extracting fields from a data file"
- Previous message: Rod Za: "RE: ways to change the first char from a filename (with full path )"
- In reply to: Tim Johnson: "RE: Win32::NetAdmin::LocalGroupGetMembers"
- Next in thread: Perl.Org: "RE: s::LocalGroupGetMembers"
- Reply: Perl.Org: "RE: s::LocalGroupGetMembers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Charles K. Clarkson: "RE: Extracting fields from a data file"
- Previous message: Rod Za: "RE: ways to change the first char from a filename (with full path )"
- In reply to: Tim Johnson: "RE: Win32::NetAdmin::LocalGroupGetMembers"
- Next in thread: Perl.Org: "RE: s::LocalGroupGetMembers"
- Reply: Perl.Org: "RE: s::LocalGroupGetMembers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|