|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
NTLM + Log On To field in Active DirectoryHello!
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? |
|
|
Re: NTLM + Log On To field in Active DirectoryPerhaps 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@...> wrote:
|
|
|
Re: NTLM + Log On To field in Active DirectoryThis works: ![]() And this fails: ![]() Tomcat |
|
|
Re: NTLM + Log On To field in Active DirectoryRobin,
These are the allowed workstations that the user is authorized to login to. JCIFS acts as any other workstation on the network, so the name of your server running JCIFS must be present in the user's set of allowed workstations for the authentication to succceed for that user. You can set the property jcifs.netbios.hostname to define the machine name that JCIFS will use. On Mon, Jul 14, 2008 at 2:39 AM, robin bad <robin_bad@...> wrote:
-- Kevin |
|
|
Re: NTLM + Log On To field in Active DirectoryThanks for your help. I found this thread - http://lists.samba.org/archive/jcifs/2003-October/002619.html I have the same problem - i need to set "local address" for every user authentification. But it still determine once (in static init block) in NbtAddress. |
| Free Forum Powered by Nabble | Forum Help |