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
0
votes
1 answer

Again problems with proxy in git (on Linux behid a NTLM proxy)

On a Linux machine I want to clone GitHub repositories while being behind an NTLM proxy. I know about the answers here on Stackoverflow (like A, B or C) about git and proxies, and I have in accordance with them done the following: In my .gitconfig I…
halloleo
  • 9,216
  • 13
  • 64
  • 122
0
votes
1 answer

Sharepoint connection - ValueError: No JSON object could be decoded

I want to exctract data from Sharepoint using Python 2.7.3. Here is my code: import requests import urlparse import json from requests_ntlm import HttpNtlmAuth user_credentials = { 'username' : 'my_username', 'password' : 'my_password', …
ale.C
  • 1
  • 1
  • 4
0
votes
1 answer

JMeter v. 4 NTLM Authentication

I have an issue with NTLM Authentication, I'm using JMeter v. 4 and this is first time I'm using JMeter, so I'm beginner. I've tried to follow couple of solutions that I found here but I'm still facing issue. HTTP Authorization Manager has following…
0
votes
1 answer

How to use the PHP built-in server with Windows Authentication (NTLM) to fill $_SERVER["LOGON_USER"]?

I have scripts that use the $_SERVER["LOGON_USER"] which is obtained on my servers through IIS authentication settings. I want this same variable to contain my domain\username when running locally, or at least to have a way to set it when I fire up…
Marcos Dimitrio
  • 6,651
  • 5
  • 38
  • 62
0
votes
2 answers

How to generate source files from navision webservice with ntlm authentication

I am trying to generate the source files from a Navision web service(NTLM authentication) using wsimport.Below is the command wsimport -XdisableSSLHostnameVerification -d generated -s source -Xauthfile auth2.txt -keep…
venkata
  • 1
  • 1
0
votes
0 answers

Invoke web service (.net) from axis 1.4 client - NTLM authentication

I am calling a web service written in .NET located remotely running under IIS Server. I created a stub to call the web service using apache axis 1.4. The web service uses NTLM authentication. I try to invoke the web service in this way but the error…
giuls26
  • 21
  • 6
0
votes
1 answer

ASP.NET Authorization (NTLM / BASIC) fails for PUT but works for GET

I'm trying to make GET/Post request with Authorization (NTLM / BASIC). Code works fine for all GET requests, but gets 401 unauthorized for any POST request. My code: NetworkCredential credential = new NetworkCredential(user, password); var myCache =…
0
votes
2 answers

Gradle compileJava faills sun.net.www.protocol.http.ntlm.NTLMAuthenticationCallback

I'm using sun.net.www.protocol.http.ntlm.NTLMAuthenticationCallback in a Java file. The code builds and runs fine from Idea, but fails when using gradle compileJava. I'm getting this error: D:\source\msnavclient\MsNavClient.java:5: error: package…
wOOdy...
  • 659
  • 13
  • 25
0
votes
0 answers

How process NTLM authentication in Unity3d

How process NTLM authentication in Unity3d with UnityWebRequest. I try this code (but always get response code 401): private IEnumerator Test(string url) { UnityWebRequest webRequest = UnityWebRequest.Head(url); var logPass =…
Knaus Irina
  • 789
  • 5
  • 15
  • 35
0
votes
1 answer

How to Request an External JSON URL From Within Java Servlet or Class When the JSON URL sits behind NTLM Authentication On Another Server/Domain

Accessing the following JSON URL from within the web browser is simple on a Windows machine as this pops up an authentication box asking for the username and password which when entered displays the JSON data correctly.…
0
votes
1 answer

Understanding the NegotiateFlags parameter of NTLM messages

I'm struggling to understand how to properly read and construct my NegotiateFlags parameter on the NTLM messages. On the official protocol specification I simply cannot understand that table. I think it represents a 32-bits since the NegotiateFlags…
user2864778
  • 333
  • 5
  • 18
0
votes
1 answer

Sitespeed.io with NTLM

I have an IIS site with NTLM and sitespeed.io, run via Docker, seems to be unable to get past the NTLM Part. I'm very new to sitespeed.io but have searched their documentation and found nothing to say it does, or does not, specifically support…
0
votes
1 answer

How to create a NTLM authentication header to use with Alamofire?

These are request headers: let userName = "someUserName" let password = "aPasswordForSomeUserName" var headers: HTTPHeaders = [ "Accept": "application/json", ] if let authorizationHeader = Request.authorizationHeader(user: userName, password:…
Hemang
  • 26,840
  • 19
  • 119
  • 186
-2
votes
1 answer

C# NTLM authentication function

I need to programmatically rewrite NTLM authentication over http. .Net does it by simple code like this: public static byte [] downloadFile(string url){ using (var client = new WebClient { Credentials = new NetworkCredential("username",…
-2
votes
1 answer

Windows authentication using python

How to do windows authentication using python.. Any tools to debug ? I tried with request_ntlm, but its not helping. Even i'm not able to get www-authenticate header from response.
heaven2sai
  • 119
  • 2
  • 1
1 2 3
9
10