[jcifs] Translating SIDs
rob
cnei at usa.net
Fri Jan 28 04:17:42 GMT 2005
Sounds great, for now I see a kludge that's just crazy enough... it might
work!
The value in the following registry key has username:
HKU:[SID]\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Logon User Name
-- -----Original Message-----
-- From: Michael B Allen [mailto:mba2000 at ioplex.com]
-- Sent: Thursday, January 27, 2005 6:07 PM
-- To: rob
-- Cc: jcifs at lists.samba.org
-- Subject: Re: [jcifs] Translating SIDs
--
-- rob said:
-- > Does jCIFS or jCIFS-ext provide methods to translate
-- Windows SIDs to
-- > actual Usernames?
-- > Nothing in the API docs is jumping out at me.
--
-- You can do it with Jarapac/JCIFS/MIDLC but it's all very
-- round-about, it's not packaged nicely, and lacks a
-- user-friendly API. You really have to know about MSRPC, IDL,
-- named pipes, endpoints, etc (although the examples are
-- pretty easy to run).
--
-- JCIFS 1.0 is all about files and directories. JCIFS 2.0 will
-- be all about integrating Java subject based security with MS
-- Windows and Kerberos.
-- Things like resolving SIDs will be trivial (you won't even
-- realize you're doing it).
--
-- Mike
--
-- --
-- Internal Virus Database is out-of-date.
-- Checked by AVG Anti-Virus.
-- Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 1/19/2005
--
--
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 1/19/2005
More information about the jcifs
mailing list