[jcifs] Obtaining username to/from NT SID
eglass1 at attbi.com
eglass1 at attbi.com
Tue Oct 29 23:54:28 EST 2002
I'm currently working on a project where I have the need
to match a user's NT SID to their username. Previously,
I was using a native call to LookupAccountSid with the
SID to retrieve the username. However, I was wondering
if it would be possible via jCIFS to either do this or
go the other way -- i.e., the user has authenticated via
NTLM, and I want to retrieve the SID (using perhaps the
NtlmPasswordAuthentication object?). I essentially have
2 sources (one with the SID and one with a username),
and I need to match them. Anyone have any ideas?
Ideally, I would like to do this in pure Java (I can
already do it natively, but that ties me to a specific
platform).
Eric
More information about the jcifs
mailing list