Questions tagged [ntlmv2]

68 questions
33
votes
2 answers

Is JCIFS incompatible with windows 2008 R2 domain controllers?

We are using JCIFS(1.3.15) to authenticate from a Windows 7 client which sends only NTLM v2 responses. We are getting the following error when we use a Windows 2008 R2 domain controller jcifs.smb.SmbException: The parameter is incorrect. at…
Sajo Mathew
  • 363
  • 1
  • 5
  • 9
17
votes
2 answers

How to transform NTLM credentials to Kerberos token in Node.js

I want to build a server using Node.js, which acts as some kind of proxy. The clients that connect to my server use NTLMv2 for authentication (there is no chance to change this), but the upstream server my server shall connect to requires a Kerberos…
Golo Roden
  • 112,924
  • 78
  • 260
  • 376
5
votes
5 answers

NTLM V2 SSO Java Servlet Filter

I need to use NTLM V2 SSO for a web application deployed on Tomcat 6 (Redhat Linux). I know of the JCifs library but it's NTLM filter supports only NTLM V1 and not V2. They recommend JESPA as an alternative but I would rather have an open source…
xask
  • 463
  • 6
  • 13
5
votes
1 answer

How to distinguish between ntlm & ntlmv2 authentication

I'm viewing some legacy code and attempting to determine if the application is using ntlm or ntlmv2. Viewing the source the response header set to "WWW-Authenticate", "NTLM". But I'm not sure if this is an indication of the authentication type. How…
blue-sky
  • 45,835
  • 124
  • 360
  • 647
5
votes
1 answer

PHP Single Sign On using NTLMv2

I have a nginx web server, using php-fpm for script execution, and I want to get the NTLMv2 credentials of the client browsing the the server. I have a proxy server within my local network to authenticate my users. The question is, how to do I make…
Mark Tomlin
  • 7,684
  • 8
  • 51
  • 68
5
votes
2 answers

Connecting to NTLMv2 from Java\httpclient 3\linux

I am using MAC and LINUX, java6 and apache http-client 3.1 to connect to sharepoint with NTLM auth. I connect to ntlm using http://jcifs.samba.org/ and it worked fine until I had to connect to NTLMv2. I tried this …
dov.amir
  • 10,859
  • 7
  • 39
  • 48
4
votes
0 answers

How to setup NTLM V2 for Sharepoint 2013/ 2016?

I am working on SharePoint 2013 onpremise REST APIs. I am able to configure my web application with BASIC and NTLM. I would like to setup on-premise instance with NTLM V2. Could you please help us How to setup NTLM V2 on SharePoint 2013/…
Joe
  • 137
  • 1
  • 10
4
votes
2 answers

How to check NTLM type3 message? (node.js)

I want to write a http server with node.js that supports NTLMv2 authentication. Evertything works fine with the handshak (type1, type2, type3 messages) and I get my type3-message from the client (Chrome Browser). In this message that is being sent…
Laryllan
  • 41
  • 4
3
votes
2 answers

MonoTouch support for accessing Mono.Security.Protocol.Ntlm.NtlmFlags

We use NTLM auth to access an ASP.net web services from our MonoTouch app and everything works fine. One of our customers uses the same app and the NTLM auth fails from our app but works from the iPad's Safari browser. Looking at the packet flow…
3
votes
1 answer

Java 6 with NTLM2

I have a component that is written in C# to overcome NTLM2 authentication protocol (or at least that what I was told) I'd like to convert this component to Java 6 - will java support the NTLM2 ?
Eyal
  • 269
  • 1
  • 5
  • 12
3
votes
0 answers

Access SharePoint 2013 onpremise REST APIs using NTLM V2

I have configured NTLM & NTLM V2 authentication for SharePoint 2013 onpremise. For NTLM auth, I am trying to consume REST APIs via httpntlm and it is working as expected with a successful response. However, the httpntlm not working with NTLM V2 and…
Joe
  • 137
  • 1
  • 10
3
votes
2 answers

How to connect to a REST service that needs Windows client authentication from Java?

I want to access a REST service from Java. The service runs under Windows and uses probably a "default" authentication mechanism. I was told it was Kerberos with a fallback to NTLM. I am able to access the service by a plain HTTPS GET request using…
Gustave
  • 2,787
  • 4
  • 27
  • 56
2
votes
0 answers

NTLM logins with clojure

I want to unit test a web application from Clojure. The web application tested is hidden behind NTLM-login. Is there any simple way to use existing clojure http-clients to login with credentials? Clj-http throws exception when I try to access the…
claj
  • 4,862
  • 2
  • 23
  • 30
2
votes
1 answer

Custom NTLM authentication with HttpWebRequest

I need to authenticate to a server which exposes a custom NTLM-based authentication scheme, using the standard HttpWebRequest object. It's pretty much basic NTLM except that during the NTLM handshake protocol I receive a cookie from the server which…
Tudor Olariu
  • 1,298
  • 1
  • 11
  • 18
2
votes
0 answers

How to retrieve an NTLM Challenge

I am currently trying to Authenticate with an IIS/6.0 Data Server. With the code below, how do I retrieve the challenge from the server. Currently what I am doing is sending the first GET request to the server //Part 1: The Request …
Loligans
  • 439
  • 8
  • 23
1
2 3 4 5