#85497 - 2002-04-10 01:39 AM
LsaLookupNames
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Shawn or anyone else, is there a way to use COM via Kixtart to call something like LsaLookupNames?
|
Top
|
|
|
|
#85499 - 2002-04-10 02:12 AM
Re: LsaLookupNames
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
I do a great deal of coding in Perl that target security objects. Many of the calls like LsaLookupName, LsaLookupSids, and other Lanman type calls are available to me in Perl through the use of Modules such as the Lanman. I wanted to determine if any of this functionality could be called via COM or if Kixtart could use rundll to invoke a call from a DLL.
In short, I wanted to exploit the basic Lanman functionality in the OS without the need to install ADSI or other add-on utility like ADsSecurity.
|
Top
|
|
|
|
#85500 - 2002-04-10 02:21 AM
Re: LsaLookupNames
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
As an example, the other thread where 'comjf' wanted to find the builtin\administrator account. the ADSI solution of cycling through all users trying to match the RID is very inefficient. My Perl program that can rename and reset the builtin\administrator account without knowing the account (it is different in other languages or could have been renamed) uses GetUserGroupFromRID($Computer, DOMAIN_USER_RID_ADMIN, $Account)). Making a call like this is far more efficient than looking through 20,000 accounts.
|
Top
|
|
|
|
#85502 - 2002-04-10 02:40 AM
Re: LsaLookupNames
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Oh well. Checkout the program I emailed you. Let me know if you have a need for anything like it. [ 10 April 2002, 02:42: Message edited by: Howard Bullock ]
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 565 anonymous users online.
|
|
|