1,233 questions
0
votes
1
answer
30
views
How to Restrict JWT and Windows Authentication Schemes to Specific Routes in ASP.NET Core?
I am building an ASP.NET Core rest API (core 8.0 with angular frontend) application that uses JWT Bearer Authentication for some routes and Windows Authentication (Negotiate) for others. However, I am ...
-1
votes
0
answers
26
views
Retrieve user’s mailbox items from Exchange Server 2019 On-Prem using Windows Authentication only (Direct from React or through .NET API)
Exchange Server 2019:
The requirement is to enable the user to open a webpage (mainly React JS) which will retrieve and display mailbox items for the current logged-in user by calling the /EWS/...
1
vote
0
answers
15
views
does the user provide the hash of passwd in NTLM authentication or the O.S or the system
can you guys help and explain why ?
i think GPT provide wrong answer
Which is true for NTLM/LM authentication?
a) Client sends login request and encrypted password to DC
b) Client sends login request ...
0
votes
1
answer
168
views
Can Windows Edge/Chrome/Firefox do Kerberos Negotiate (not NTLM)?
I am able to succesfully kinit + klist to verify a ticket on Mac + Windows. I even carried over my Kerberos configuration to "KerberosForWindows".
It does not seem that any browser on ...
1
vote
1
answer
291
views
Unable to Authenticate with NTLM from Linux with .NET 8
I have a ASP.NET Core 8 Application which is being dockerized and deployed in Openshift.
The problem is that I cant authenticate to an endpoint using NTLM.
From my windows machine i can use it just ...
0
votes
0
answers
32
views
Convert Invoke-RestMethod to axios request
I am using powershell to make rest requests to onprem Sharepoint Server. I am required to use Windows domain credentials for authentication, and I'm currently using that coupled with a digest ...
0
votes
0
answers
35
views
NTLM v2 miss ['Authorization']
I’m having a problem with NTLM v2 connection. After some changes at my workplace, my code stopped working. I checked the NTLM with the [‘Authorization’] header, but since the Active Directory changes, ...
0
votes
0
answers
58
views
Spring Cloud Gateway and NTLM Authentication
Is there a way to authenticate routes with NTLM Authentication in a GatewayFilter?
I took as a reference the ExchangeFilterFunction from this question which works perfectly with WebClient but I couldn'...
0
votes
1
answer
207
views
Can you force IIS Windows Security (NTLM) to request full domain username and password - not Windows Hello?
Can you force IIS Windows Security (NTLM) to request full domain username and password - not Windows Hello?
Since the domain administrators have moved to Windows Hello for clients and switched from on-...
0
votes
0
answers
44
views
Rails 7 ActionMailer SMTP server with ntlm
I try to setup ActionMailer with NTLM. I use this gem https://github.com/macks/ruby-ntlm and this example Ruby/Rails ActionMailer not working with NTLM.
My configuration is:
config.action_mailer....
0
votes
1
answer
181
views
Connect SQL Without Using NTLM
Trying to connect to SQL Server without using NTLM. The instance services are using a gMSA account.
$instance = "SERVER.DOMAIN.LOCAL\INSTANCE"
$database = "DATABASE"
$...
0
votes
0
answers
360
views
Negotiate Authentication validating user. Result: {result=BH, notes={message: received type 1 NTLM token
I have a Kerberos environment where my proxy expects Kerberos authentication. This environment has three hosts, a Windows client (joined to AD), a linux host running the proxy (joined to AD) and the ...
0
votes
0
answers
106
views
LmCompatibilityLevel gets set back to 4
I want to apply LmCompatibilityLevel 5 to a Windows Server 2016 machine but the next day it always gets set back to 4.
I've already both modified the registry by hand and applied a GPO to set it to 5.
...
0
votes
1
answer
358
views
Authentication with Negotiate in ASP.NET with docker container
After endless attempts to Negotiate authorization, I turn here.) The application itself works in Docker, files such as krb5.conf and keytab file have also been added, but there is still an ...
0
votes
1
answer
394
views
How to Negotiate a Kerberos/NTLM Token in Java?
I'm trying to implement an HTTP proxy in Java that adds Windows Integrated Authentication to all requests.
What I have in mind is basically to negotiate the correct authentication scheme between the ...
0
votes
1
answer
102
views
Call NTLM secured endpoint via Apache Camel
I am creating the following route, which uses NTLM authentication, but 401 is always returned and with the following error
from("direct:start")
.setHeader(Exchange.HTTP_METHOD, () -> &...
0
votes
0
answers
174
views
Git NTLM authentication failure
I'm using Git to clone a repo hosted on an Azure DevOps server. I have been using it for a while from some clients. (Usually from Visual Studio.) Now I have installed Git on a new client (Visual ...
-1
votes
1
answer
773
views
How can I download mod_authnz_sspi.so since its no more available on apachehaus?
I'm trying to get REMOTE_USER in the PHP header using Apache 2.4.
Can someone provide a mod_authnz_sspi.so file or link? The primary goal is to bypass the login screen using Windows credentials, thus ...
0
votes
0
answers
80
views
How to implement NTLM auth with ews-javascript-api package?
I'm currently working on a project where I need to fetch emails from Outlook using the ews-javascript-api package. While I've successfully implemented basic authentication, I'm encountering ...
1
vote
1
answer
934
views
HTTPClient with NTLM authentication not working in dotnet web application
I have a web server I'm working on using dotnet 7, and I need to hit an external API which uses NTLM authentication.
This is a snippet from my program.cs
private static WebApplicationBuilder ...
0
votes
0
answers
52
views
Pyhton ldap3 NTLM unable to return json.loads data
Trying to add an AD user account to a AD group using python with ldap3 using the following script:
# Import necessary modules and libraries
import requests
from flask import json
from ldap3 import ...
3
votes
2
answers
1k
views
NTLM authentication was deprecated in HttpClient 5.3.1; can I authenticate using headers? (Java)
deprecation notice. My workplace still uses the NTLM authentication scheme. We have over 600k employees so it's not a small company. If I encounter the 401 status code, "NTLM" is the only ...
0
votes
0
answers
75
views
Changing an app's authentication that uses Active Directory from NTLM to Okta, do I need to touch direct calls to AD that aren't authentication?
Fairly inexperienced Software Engineer and with authentication so please bare with me with I get certain details wrong and thank you in advance for any assistance.
I've been tasked with replacing NTLM ...
0
votes
1
answer
160
views
QAF: API ERROR code 0x80072530 : Passed entity object cannot be null or empty
Implementing the NTLMAutClient is working with valid ntlm credentials. However, upon running the JSON request, the aforementioned error occurs.
Below is the JSON payload:
{
"headers":
...
0
votes
0
answers
93
views
SSRS Not Displaying Pictures from SharePoint On-Premises
Lately I have been working on a solution that would allow .rdlc files from an ASP.NET Webforms page to display images that are stored in a SharePoint On-Premises server that runs separately from the ...
0
votes
1
answer
377
views
How to connect to LDAP with NTLM in Node.js
I'm building an app where employees should be able to login with their LDAP credentials through a web form.
I have a problem converting this working Python function, that uses ldap3 library, into Node:...
0
votes
0
answers
120
views
Delphi Indy NTLM on Windows 11 don't use good user
I have code that works well on Windows 10 and previous version and stop working on Windows 11. I use Indy with IdAuthenticationNTLM in my uses.
here is my code:
procedure SetIdHTTPSSL(AIdHTTP: TIdHTTP)...
0
votes
0
answers
91
views
NetrServerReqChallenge() API is not able to found in WIN32 Header file
As per bard or chat-gpt
The NetrServerReqChallenge() API is declared in the lm.h header file. This header file is part of the Windows SDK and can be found in the Include directory of the Windows ...
0
votes
0
answers
875
views
IIS Reverse Proxy with Windows Authentication and user name forwarding
I need to connect legacy client systems doing Windows Authentication to a new backend that cannot participate in Windows Authentication.
For this purpose, I'm planning to use IIS, configure Windows ...
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 ...
3
votes
1
answer
887
views
How to migrate NTLM auth to Apache HttpClient 5 from older version
I have the following Java code with org.apache.commons.httpclient:
String url = "something";
CredentialsProvider credsProvider;
RequestConfig requestConfig;
credsProvider = new ...
0
votes
0
answers
274
views
SQL Server to connect to a NTLM auth webservice
I have a webserver running a REST API, and I need to query from a SQL Server.
I can easily make the API work with Postman and the NTLM option as seen below:
but I have no idea how to do that with SQL ...
1
vote
0
answers
228
views
How to use NTLM authentication from RHEL 8 to RDS for query
I am attempting to connect to a RDS instance that is joined to the AD.
The authentication mechanism it is using is NTLM.
Hence, on my instance where my python web app is hosted, it has to connect to ...
1
vote
1
answer
801
views
Check user credentials in LDAP/active directory with NTLM
I have an apache PHP server in which I am trying to implement permissions using an existing active directory.
We choosed NTLM to authenticate windows users automatically, and that part seems to be ...
1
vote
0
answers
168
views
OKHttpClient with NTLM Authentication returns 401 in Android
NTLM Authentication returns 401 error code. below is OKHttpClient call
private fun getOkHttpClient(): OkHttpClient? {return try {
val trustAllCerts = arrayOf<TrustManager>(
...
0
votes
0
answers
123
views
wget authentication fails against mscep_admin with Extened Protection enabled
I have a group that runs a wget command against mscep_admin on IIS to genrate certificates for Linux devices. We are enabling extended proction on IIS for mscep_admin. After doing this the wget ...
1
vote
0
answers
45
views
Mechanize authentication error 401 when saving file to a shared drive
I am connected to a shared SMB volume. Using Mechanize in a Ruby script, I am trying to download several files from a proprietary asset manager, and save them directly to the shared drive, i.e.:
agent ...
0
votes
0
answers
407
views
Powershell script socket connection error when running script via Ansible
This is my hosts file and the details of the server that is used to send information to the actual Active Directory server:
[Windows]
10.15.200.130
[Windows:vars]
ansible_user=domainname\username
...
0
votes
2
answers
692
views
IIS/Apache/nginx... reverse proxy forward NTLM authenticated user details to express.js and next.js
Our organisation currently uses Tomcat and Spring/Java for it's internal web apps. Tomcat via Waffle allows the NTLM(SSPI) authenticated user details to be accessible in the Spring/Java app so users ...
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 ...
0
votes
0
answers
543
views
Ntlm authorization doesn't work with HttpClient
I have an issue - my http request to TFS always returns "401" status code.
Request code below:
public async Task TfsPostRequest(string url, string body, string username, string password)
{
...
-1
votes
1
answer
731
views
The mapped network drive could not be created because the following error has occurred: The parameter is incorrect
cmd.exe /C "cmdkey /add:"******" /user:"*****" /pass:"**********`""
OS version
Share Disk mount Error
1.Checked the network connection no block
2.Checked the ...
1
vote
1
answer
102
views
PHP: Forward NTLM credentials from browser to curl request
So not sure if this is actually feasible or not. But putting a page together for our techs that they can generate certificates with, feed in all the details which creates a CSR then fires off the ...
2
votes
1
answer
646
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, ...
0
votes
1
answer
509
views
Firefox Okta integration, setting up Agentless DSSO
I am currently using trying to set up DSSO with Okta utilizing Firefox. I have been able to successfully set up Edge/Chrome/IE on the domain without issue. I have set the following documentation as ...
0
votes
0
answers
280
views
JavaFX WebView on openJDK-11 not able to load website with ADFS NTLM auto-login
While trying to run a website with SSO and auto-login feature using ADFS and NTLM on JavaFX WebView I am unable to load it as the application pop-up shows a blank screen.
This happens when I try to ...
0
votes
1
answer
374
views
Nodejs node-ews packge Missing dependency ntlm-client when using version 3.5.0
Hi I'm trying to use node-ews package to send emails in nodejs backend, when I used the version 3.4.2
of node-ews it's work fine but with some vulnerabilities (lodash and httpntlm ), I tried to use ...
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 ...
1
vote
2
answers
2k
views
Second NTLM Authorization Header
When performing a curl with --ntlm, what is happening between the WWW-Authenticate header being sent back, and then then the second NTLM Authorization header being sent to finally return a 200?
...