RE: Win32::LookupAccountSID()

2012-07-10 Thread Barry Brevik
Thanks for posting!! -Original Message- From: Ken Cornetet [mailto:ken.corne...@kimball.com] Sent: Tuesday, July 10, 2012 11:39 AM To: Barry Brevik; perl Win32-users Subject: RE: Win32::LookupAccountSID() http://code.activestate.com/lists/perl-win32-users/26301/ -Original Message

RE: Win32::LookupAccountSID()

2012-07-10 Thread Ken Cornetet
: Win32::LookupAccountSID() I'm having trouble with Win32::LookupAccountSID() and I was hoping someone has experience with this function. I'm dragging user SIDs out of the registry under HKEY_USERS. Then I specify our domain controller as the "system" parameter (though I've

Win32::LookupAccountSID()

2012-07-10 Thread Barry Brevik
I'm having trouble with Win32::LookupAccountSID() and I was hoping someone has experience with this function. I'm dragging user SIDs out of the registry under HKEY_USERS. Then I specify our domain controller as the "system" parameter (though I've tried both using a local

Re: Win32::LookupAccountSID

2005-03-22 Thread $Bill Luebkert
Chris Wagner wrote: > At 10:16 PM 3/22/05 -0800, $Bill Luebkert wrote: > >># convert the SID so we can print it later >> >>my $ConvertSIDToStringSID = Win32::API->new('ADVAPI32.DLL', >> 'ConvertSidToStringSid', 'PP', 'N') or >> die "Import ConvertSidToStringSid: $!"; > > > An easier way to do i

Re: Win32::LookupAccountSID

2005-03-22 Thread Chris Wagner
At 10:16 PM 3/22/05 -0800, $Bill Luebkert wrote: ># convert the SID so we can print it later > >my $ConvertSIDToStringSID = Win32::API->new('ADVAPI32.DLL', > 'ConvertSidToStringSid', 'PP', 'N') or > die "Import ConvertSidToStringSid: $!"; An easier way to do it is to use the Lanman function, Win

Re: Win32::LookupAccountSID

2005-03-22 Thread $Bill Luebkert
Alan Peck wrote: > Excuss my question, still awaiting arrival of Roth's book on the Win32 > extentions, probably going to arrive late April! :( > > How does one obtain the account name from the SID using > Win32::LookupAccountSID(SYSTEM,SID,ACCOUNT,DOMAIN,SIDTY

Win32::LookupAccountSID

2005-03-22 Thread Alan Peck
Excuss my question, still awaiting arrival of Roth's book on the Win32 extentions, probably going to arrive late April! :( How does one obtain the account name from the SID using Win32::LookupAccountSID(SYSTEM,SID,ACCOUNT,DOMAIN,SIDTYPE). The is not much information about the parameters i