[jcifs] NTLM + Log On To field in Active Directory

Asaf Mesika asaf.mesika at gmail.com
Mon Jul 14 07:15:46 GMT 2008


Perhaps you can supply a screenshot of the AD screen, because I can't seem
to understand your first paragraph. Also I didn't understand what was the
configuration that failed your authenticator.
Which container are you working with?


On Fri, Jul 11, 2008 at 11:32 AM, robin bad <robin_bad at bk.ru> wrote:

>
> Hello!
>
> I made my own NTLM Authenticator like NtlmHttpFilter, and it works fine in
> case in user's field "Log On To" (in Active Directory) option "All
> computers" is selected. But if there is only client computer in this field,
> NTLM authentication fails.
>
> Let's look into the sources.
>
> Login and hashes check is here:
>
>    ntlm = new NtlmPasswordAuthentication(domain, user, challenge,
> lmResponse, ntResponse);
>    ...
>    SmbSession.logon(domainController, ntlm);
>
>
> In SmbSession.logon:
>
>    SmbTransport.getSmbTransport( dc, port ).getSmbSession( auth )
>
>
> There is one interesting metod in SmbTransport:
>
>    static synchronized SmbTransport getSmbTransport( UniAddress address,
> int port,
>                                    InetAddress localAddr, int localPort )
>
> What is "localAddr"? Is it address of the client? If it is, how can i use
> it?
>
> If its not, is there a way to resolve the problem?
>
> --
> View this message in context:
> http://www.nabble.com/NTLM-%2B-Log-On-To-field-in-Active-Directory-tp18399106p18399106.html
> Sent from the Samba - jcifs mailing list archive at Nabble.com.
>
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list