All Questions
Tagged with ntlm authentication
243 questions
0
votes
0
answers
371
views
Cypress doesnt open application login popup and instead throws 401 unauthorized directly
Its a simple code:
cy.visit("https://example.com/Booking/lists");
Hitting on this by browser internally redirects to "integrated authentication" which throws windows based login ...
0
votes
0
answers
192
views
Pass HTTP-NTLM authentication token through script to Exchange
I'm developing a web-based system which needs to integrate with several backends, including a Microsoft Exchange server (as well as a few others). The system runs in an air-gapped intranet, so ...
2
votes
1
answer
647
views
When the UseDefaultCredentials property of an HttpClientHandler is set to true, how do credentials actually get resolved for a request?
When creating an instance of an HttpClient, you can pass an instance of an HttpClientHandler to configure how you want the client to behave. One of these options is the UseDefaultCredentials property, ...
1
vote
0
answers
150
views
Windows Authentication gives 401
I am working in a project that uses Windows Authentication and it is my first experience with it. I have a backend ASP.NET Web Api setup with Windows Authentication, and it includes AddNegotiate in ...
0
votes
0
answers
1k
views
Ansible Playbooks connection to Rest api with win_uri
I'm trying to authenticate to a REST API with using NTLM authentication.
First I tried uri module but that didn't have support for NTLM. So I installed win_uri because looks like its supporting ntlm ...
2
votes
0
answers
2k
views
Requests Proxy NTLM Authentication (Without Hardcoding Username and Password)
I'm trying to send requests to an HTTPS website behind corporate proxy that requires authentication.
The below code works:
import requests
import urllib
requests.get('https://google.com',
...
0
votes
0
answers
158
views
NTLM/Kerberos works on browser but not with my app with Alamofire
Since an authentication change in our server, I have to add kerberos authent in our ios app. I tried everything found on internet but nothing works.
Here is my code
private static let ...
1
vote
0
answers
214
views
Freeradius authenticate windows ad username and password failed while testing thru wifi setup
Trying to authenticate windows AD username and password by freeradius thru NTLM auth.
while testing ntlm auth in freeradius machine, got success message.
ntlm_auth --request-nt-key --domain=MPLradius -...
0
votes
0
answers
305
views
login automatically to NTLM Authentication site in Webbrowser WPF_C#
I try to open a site but first must fill username and password. I have username and password and I want to fill username and password in my code and users not see Authentication.
this is a sample, ...
0
votes
1
answer
776
views
Cypress: configure hardcoded user for api requests with cypress-ntlm-auth proxy
I'm using cypress-ntlm-auth plugin in my cypress automation project, providing me windows authentication (Ntlm, kerberos etc.)
In particular, I use the ntlmSso option for Negotiate with my app. If the ...
1
vote
0
answers
428
views
NTLM Authentication on a mobile device
I am developing an Ionic 5 + Angular 11 mobile application as a mobile interface for an existing Windows REST Server. The server is using NTLM Authentication, which of course is native to a browser ...
0
votes
1
answer
50
views
Hazelcast NTLM authentication
Hazelcast documentation says that there is support for LDAP, thus Kerberos is supported.
But I need to have authentication via NTLM.
Does Hazelcast support NTLM for Hazelcast members or Management ...
0
votes
1
answer
489
views
NTLM authentication doesn't work for JS files unless Fiddler is running
I am running an ASP.NET 4 app in IIS using NTLM (Windows) Authentication. All other authentication schemes are disabled. I am able to authenticate to the server successfully. However, even after ...
0
votes
1
answer
273
views
LDAP authentication failing
I have a nodejs application that successfully authenticates using LDAP locally using passport-ldapauth.
However, in another environment it is not working. I have written a .net app that can ...
0
votes
1
answer
1k
views
Windows authentication box pops up with integrated authentication on web page
I am running two Windows server 2016s with IIS 10.0.14393. One server for staging purposes, and one for production.
The application has one "front-end app" and one "back-end REST api" running on the ...
0
votes
0
answers
1k
views
Delegation for NTLM and Kerberos
I enabled Form Authentication in the IIS hosts my company website.
Then in one client script (Nodejs or Python) I tried to get some data from the website.
Below is one Python example:
import ...
0
votes
0
answers
966
views
Windows Authentication issue with .Net Reverse Proxy using IIS custom HTTP module
We use a custom HTTP module in IIS as a reverse proxy for web applications. Generally this works well and has done for some time, but we've come across an issue with Windows Authentication (WA). We're ...
0
votes
1
answer
274
views
AspNetCore rejects preflight messages
We have a HttpSys listener which should accept authentication as either NTLM, Negotiate or JWT.
Problem is that it looks like HttpSys rejects both preflight messages and messages with Bearer token (...
2
votes
0
answers
588
views
Windows NTLM authentication using Node.js + Express
I'm building a Node.js + Express microservice running on Ubuntu to communicate with Windows NTLM protected REST service. I'm using https://github.com/SamDecrock/node-http-ntlm as http client.
It has ...
1
vote
1
answer
234
views
Unable to pass proper credentials to server through corporate proxy in python, but able to do it in R
I am trying to convert an R program into Python. The R program uses the following code to pass a request to the server:
auth <- function() {
httr::authenticate(Sys.getenv("proxy_usr"),
...
2
votes
1
answer
2k
views
How to enable NTLM authentication with JAX-RS 2.0 compliant RESTEasy client API?
By default sending a request with RESTEasy client API to a secured resource that requires NTLM authentication results in a HTTP response with status 401 Unauthorized and header WWW-Authenticate: NTLM.
...
0
votes
1
answer
380
views
How to download HTML source in Java when the page requires a sign in?
Currently I am trying to download the html source of a webpage using a URL object and an input stream like below.
url = new URL(urlString));
is = url.openStream();
br = new ...
2
votes
1
answer
872
views
Web Service Credentials work from remote but not on the server
I'm calling a web service (named SecurityService) as below:
SecurityService.Service securityService = new SecurityService.Service();
securityService.Credentials = networkCredential;
return ...
0
votes
1
answer
91
views
NTLM Authentication from ConfiForms
I am currently trying to use the EWS API directly from my ConfiForm. When I tested it with cURL, it only worked when I was using the NTLM authentication.
This is the cURL call I used:
curl -v -u <...
0
votes
1
answer
3k
views
401 unauth response in Kerberos
Just noticed that with Kerberos authentication, client browser always gets a 401 response first (with WWW-Authenticate: Negotiate header) and in next request actual kerberos token is sent for ...
0
votes
0
answers
203
views
UWP NTLM Authentication with Windows default credentials
Could you clarify, is there "ready to go" API for UWP? I have not found any work example with Windows Default Creadentials. All existing example with User's login and password.
1
vote
0
answers
2k
views
How to handle NTLM Authentication with SOAP Webservice Client?
I'm trying to execute a NTLM Authentication with SOAP Webservice Client Object but it fails with following Exception:
The HTTP request is unauthorized with client authentication scheme 'Ntlm'. The ...
1
vote
1
answer
292
views
UWP NTLM Authentication with Windows credentials
There are a lot of example but all of them are working with login and password. The best what I could find with default credentials:
byte[] type1Message = new byte[40]
{
// 'N', 'T', ...
0
votes
1
answer
2k
views
Is my authentication issue related to a double hop issue?
We're having an authentication problem with our self-made collaboration website.
We have server A with the Collab platform. We log on with our domain account on the website. This website talks to an ...
0
votes
1
answer
521
views
use two auth methods with Guzzle
I need to send a POST request to an API. When using curl on the console it only works when I set --ntlm AND --digest at the same time, I am not completely sure why. (The API is really weird in general)...
2
votes
1
answer
6k
views
NTLM Api access with Node.js
Full disclaimer: I have never worked with Microsofts NTLM before.
I've tried around 30 different ways to access the 7Pace timetracker API on our local TFS instance. I know it works if i access the ...
0
votes
1
answer
102
views
Forms app to prove I can authenticate using NTLM
Is it possible to develop a basic client/server Forms app (suppose I could develop the server side as a service, but would rather not) that can prove that a user account within a 2012 R2 Active ...
1
vote
0
answers
1k
views
c# :The HTTP request is unauthorized with client authentication scheme 'Ntlm'. The authentication header received from the server was 'NTLM
I was trying to create an adapter service (Web API calling a WCF service). I have gone through a ton of questions with the similar titles and can't seem to solve the problem. Can anyone please help.
...
4
votes
1
answer
4k
views
NTLM authentication in ZAP
I'm trying to do some penetration testing of REST Api using ZAP. Api uses windows authentication [domain\username] and is hosted locally on a specific port.
First I did a test using postman to try to ...
1
vote
0
answers
129
views
using package Azure/go-ntlmssp to authenticate sharepoint results 401
i have used package like github.com/Azure/go-ntlmssp to authenticate to sharepoint 2010.
url, username, password := "http://www.some-website.com", "admin", "12345"
client := &http.Client{
...
1
vote
1
answer
661
views
Java way of validating NTLM authentication via LDAP to retrieve username and domain
A client has requested an implementation of a simple SSO-like NTLM validator. Therefor I need to find a way to validate if an which user is logged in when trying to connect to a server.
With ...
0
votes
0
answers
2k
views
NTLM authentication on Squid proxy
I am new to Squid proxy and need help in setting up NTLM authentication.
I checked so many resources on the web but did not find exact steps to get my work done
Since I have no background on proxy/...
0
votes
1
answer
54
views
My WebService c# doesn't work when I call it from another .NET application
That's the first time I'm asking here, so, yes, if you need more information, reply here!
So, proceeding, my problem is on my .NET application that I coded for read/write information from a ...
0
votes
1
answer
410
views
NTLM Authentication invalid character
I have a problem. When I try to access on my web application I have this error
Response header 'WWW-Authenticate' value of 'NTLM TlRMTVNTUAACAAAAAAAAACgAAAABggAAAAICAgAAAAAAAAAAAAAAAA==\n' contains ...
0
votes
2
answers
3k
views
Authenticating with on-premise (IFD) CRM using NTLM authentication from Web App (Express.js)
I'm asking this question on the back of a previous question I raised, as the scope of the question has changed somewhat but that might be worth reading first for background info.
I'm trying to ...
2
votes
1
answer
2k
views
Does NTLM Authentication no longer work with the latest Postman native app 6.0.10
I keep getting 401 Forbidden response testing our IIS based WebAPI calls using my Windows credentials in Postman version 6.0.10. Is there a workaround for this in Postman without using a hack like ...
0
votes
1
answer
490
views
Double Hop when Linked Servers are on Same Server, Client on Diff Server?
I'm trying to solve a mystery. We have two SQL Server instances residing on the same server. SQL instance A is linked to SQL instance B. Connections are made using pass through authentication. The ...
0
votes
1
answer
772
views
How to do curl ntlm authentication with an xml response
I am trying to get a xml response from the server, but im getting this: SPNEGO cannot find mechanisms to negotiate
Do you guys know how to proceed ?
$ curl http://example.com:86/DynamicsNAV80/WS/...
0
votes
1
answer
1k
views
PHP Apache NTLM Authentication Alternate
I need NTLM authentication to get windows username, which is working fine with my current function.
Only issue I face is, it hits the same page thrice which makes my access log awkward to management(...
0
votes
1
answer
3k
views
In PowerShell, which authentication scheme should I use?
When using PowerShell remoting (Using the Invoke-Command cmdlet for example), an authentication scheme is required.
The options are Kerberos, CredSSP, NTLM and Negotiate.
What is the difference ...
-1
votes
2
answers
990
views
Alfresco NTLM Authentication fails
There is a problem querying Alfresco CMIS using NTLM authentication: Authentication is fails on third handshake.
* Trying 192.168.1.1...
* Connected to ecm.corp.knastu.ru (192.168.1.1) port 8080 (#...
0
votes
1
answer
481
views
Authenticator#getPasswordAuthentication returns basic instead of ntlm in Weblogic
We have NTLM authentication from Java against MS Sharepoint working in all environments but from within Weblogic Server.
In WLS we see that Authenticator#getPasswordAuthentication returns 'basic' ...
0
votes
0
answers
66
views
How to differentiate AD(System.Runtime.InteropServices.COMException) exceptions which is using kerberos authentication
We are using below code to authenticate user credentials,
string domainAndUsername = this.activeDirectoryConfiguration.Domain + @"\" + username;
DirectoryEntry entry = null;
try
...
1
vote
0
answers
192
views
NTLM authentication failing
I'm trying to get NTLM authentication working in some Java code, but getting 401'd.
This page makes me think the following code (source for NTLMEngineImpl is from Apache HTTPClient and modified ...
2
votes
0
answers
511
views
Pass 'Windows Authentication' through IIS Proxy Server
I have three web applications sitting behind an IIS server configured as a reverse proxy. I would like to authenticate users using 'Windows Authentication' (since our only users are intranet users) ...