Questions tagged [ntlm-authentication]

In a Windows network, NT LAN Manager (NTLM) is a suite of Microsoft security protocols that provides authentication, integrity, and confidentiality to users. NTLM is the successor to the authentication protocol in Microsoft LAN Manager (LANMAN), an older Microsoft product.

For more info: https://en.wikipedia.org/wiki/NT_LAN_Manager

150 questions
94
votes
10 answers

Pass NTLM with Postman

Is there a way to pass Windows Authentication with postman? I have added this in header but still 401 Unauthorized. Authorization: NTLM TkFcYWRtaW46dGVzdA== As suggested by this link. I've encrypted as Unicode (UTF-16, little-endian) but of no…
user1618825
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
  • 140,679
  • 96
  • 298
  • 425
9
votes
5 answers

MD4 hashlib support in Python 3.8

I am trying to implement a soap client for a server that uses NTLM authentication. The libraries that I use (requests-ntlm2 which relies on ntlm-auth) implement the MD4 algorithm that lies in the core of the NTLM protocol via the standard library's…
spitoglou
  • 131
  • 1
  • 1
  • 6
8
votes
0 answers

Postman Windows Authentication (NTLM) not working

I have created a brand new WebAPI project from Visual Studio template. Target Framework netcoreapp3.1. I have configured it with windows authentication. I created a request in Postman with NTLM configuration to call my API. When I debug my…
7
votes
0 answers

Client sometimes negotiates NTLM after Kerberos has been enabled, until client server rebooted. How to avoid the reboot?

Some context about the setup: We're switching from NTLM to Kerberos (Negotiate) for service-to-service authentication between various .NET workloads (e.g. IIS-hosted web API, or simple .NET command line program). For any call from client to server,…
valorl
  • 1,499
  • 2
  • 14
  • 30
5
votes
2 answers

Using NTLM/Kerberos on RestSharp since v107

Since some time it seems the NtlmAuthenticator of RestSharp is deprecated. The somewhere mentioned method of setting setting.UseDefaultCredentials = true; isn't available either. So how can I use NTLM or Kerberos with RestSharp? AND NO! I cannot…
5
votes
2 answers

How to Download NTLM Authentication Protected Files

I have tried with downloading with DownloadManager apis of Android but failed to succeed. Here is my sample code which returns me Download UnSuccessful. webView.setDownloadListener(new DownloadListener() { @Override public void…
Akash
  • 681
  • 3
  • 17
4
votes
0 answers

Java problem consuming WebService hosted on IIS secured by WindowsAuthentication

APP Description The APP that behaving improperly is an Android APP that allows the user to take a photo from his phone and then upload it to a Sharepoint CMS. Detailed problem description On a Java App, I'm sending a POST HTTP request containing the…
4
votes
3 answers

HTTP request gets authorized and unauthorized on different environments with as it seems same setup

We have a funny situation where basic GET HTTP request doesn't pass Windows NTLM autorization at IIS server. At the same time we have same code running on another environment which gets successfully executed. When we repeat request via browser it…
Miki
  • 2,493
  • 2
  • 27
  • 39
4
votes
0 answers

Calling Soap Api in java with NTLM credentials and SSL certificate authentication

Actually I am trying to call soap API in JAVA with NTLM authentication(username,password,domain) and SSL keystore certificate and keystore password (I tried in soapui it is working fine) same thing I need to achieve in java. Can any one guide me to…
saikrishna
  • 274
  • 1
  • 2
  • 10
3
votes
2 answers

Why does HttpContext.User.Identity.Name appear empty for async controller equivalent of working sync controller when using ASP.NET Core?

TLDR; I have near identical controllers that differ materially only by use of async/await (and of course Task). The non-async version returns the current user's username, as expected, but the async equivalent does not. What I'd like to discover…
3
votes
0 answers

Browser wants me to login with NTLM Authentication with Angular6

We are getting windows challenge popups when making service calls from our Angular6 application. Chrome and Firefox seem to be working ok but IE is consistently presenting us with login prompt, and when that occurs the other browsers break and also…
dataauto_mation
  • 131
  • 1
  • 5
3
votes
3 answers

docker could not use system proxy

I am trying to use docker behind corporate firewall. I would like to force docker to use system Proxy, but this option is not available. How can I make docker to system Proxy.
clockworks
  • 3,755
  • 5
  • 37
  • 46
2
votes
2 answers

HttpClient with Windows Authentication returns 401 Unauthorized with Xamarin.Forms

I'm trying to make a Login for my Xamarin.Forms App and the Windows Authentication does not work for me, but just from my Xamarin-Code. When I try to browse the Webservice through Postman or just a regular Browser for example I return my result.…
Bucks34
  • 21
  • 4
2
votes
2 answers

How to install/use a cypress plugin without using npm install

I'm trying to install/use this cypress plugin https://github.com/bjowes/cypress-ntlm-auth for my automation tests so I can login to an application that uses ntlm authenticator, but I cannot use npm install --save-dev cypress-ntlm-auth command cause…
1
2 3
9 10