[jcifs] SID from NTLM

Michael B Allen mba2000 at ioplex.com
Tue Jun 5 16:45:48 GMT 2007

On Tue, 05 Jun 2007 10:15:33 +0200
mohamed <mmaaty at itsoft.com.eg> wrote:

> Hi all,
>  Am new in  JCIFS , am Using NTLM HTTP Authentication and I could get the
> username and domain  So  I wonder if I can get the SID Too.

Hi Mohamed,

You would need to implement an RPC SamrLookupNamesInDomain. The IDL
for it is in Jarapac. There are several examples of RPCs in JCIFS so it
wouldn't be terribly hard.

Or you could maybe use JNDI but IMO that actually a little clumsey
by comparison.


Michael B Allen
PHP Active Directory Kerberos SSO

More information about the jcifs mailing list