ntlm

Using curl with NTLM auth to make a post is failing

时光怂恿深爱的人放手 提交于 2019-12-20 10:25:21
问题 I can't seem to wrap my head around this. I'm trying to script automating an upload of a csv but the curl is failing with a 401. curl -v --ntlm -u username --upload-file ~/galaxy/forums/pt_update.csv https://connect.example.com/11063/csv_import?op=add -k Enter host password for user 'username: * About to connect() to connect.example.com port 443 (#0) * Trying x.x.x.x... connected * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSLv3, TLS handshake,

How do I use NTLM authentication with Active Directory

匆匆过客 提交于 2019-12-20 09:25:11
问题 I am trying to implement NTLM authentication on one of our internal sites and everything is working. The one piece of the puzzle I do not have is how to take the information from NTLM and authenticate with Active Directory. There is a good description of NTLM and the encryption used for the passwords, which I used to implement this, but I am not sure of how to verify if the user's password is valid. I am using ColdFusion but a solution to this problem can be in any language (Java, Python, PHP

Is there any solid way to deal with Windows integrated (NTLM) authentication from an android app?

爱⌒轻易说出口 提交于 2019-12-19 13:38:12
问题 As the title states, we're looking for a way to access a .NET 3.5 Web service that is behind a Windows integrated (NTLM) authentication. We've searched the internets and this forum this entire week, and we've yet to find a solution to this problem. We've tried, DefaultHttpConnections, different variations of HttpPost, HttpGet etc. However we try to authenticate ourselves we run into these: SSLHandshakeException or Authentication scheme ntlm not supported Authentication error: Unable to

Swift 3 NTLM authentication

元气小坏坏 提交于 2019-12-19 11:21:02
问题 For a recent project I tried to pull some data from a server in the SOAP and oData format respectively, that is protected with a Microsoft NTLM authentication, and it has been a nightmare figuring out how to do it, none of the online examples really worked. 回答1: So here is my solution; I had to adapt, expand and combine a few different sources. I hope this helps someone in the future. // // ViewController.swift // ntlm // // Created by Kamik423 on 21.3.17. // Copyright © 2017 Kamik423 All

Help with Exchange 2010 EWS (API) and/or PHP's NuSOAP library?

女生的网名这么多〃 提交于 2019-12-19 10:04:12
问题 Just to be clear before continuing: using PHP's built-in SOAP class is unfortunately not an option here (production server's PHP is not built with it, and won't be). I'm trying to use EWS to allow me to authenticate users for a completely external server application. LDAP authentication has been disallowed. I have verified my EWS wsdl is correct via http://www.testexchangeconnectivity.com/, a Microsoft autodiscover tool. The contents of the WSDL can be found here: http://pastebin.org/214070

Python urllib2 HTTPS and proxy NTLM authentication

冷暖自知 提交于 2019-12-19 07:41:11
问题 urllib2 doesn't seem to support HTTPS with proxy authentication in general, even less with NTLM authentication. Anyone knows if there is a patch somewhere for HTTPS on proxy with NTLM authentication. Regards, Laurent 回答1: Late reply. Urllib2 does not support NTLM proxying but pycurl does. Excerpt: self._connection = pycurl.Curl() self._connection.setopt(pycurl.PROXY, PROXY_HOST) self._connection.setopt(pycurl.PROXYPORT, PROXY_PORT) self._connection.setopt(pycurl.PROXYUSERPWD, "%s:%s" % (PROXY

cntlm proxy with phantomjs

本秂侑毒 提交于 2019-12-18 13:26:57
问题 I'm trying to use the cntlm proxy on my windows machine to talk to a local web application on IIS that uses Windows Authentication from PhantomJS. To create the proxy, I'm doing: cntlm -v -u username@domain -p password -l 1456 localhost:80 My app lives at localhost/myapp To test whether or not this works, I try to browse to localhost:1456/myapp but I always get an auth challenge and no sensible username/password combination seems to work. Any thoughts on why this setup might not be working as

Impersonating users through NTLM

雨燕双飞 提交于 2019-12-18 11:57:53
问题 I have an internal application which has two levels of security. FormsAuthentication for client-facing application and NTLM Integrated authentication for management interface. I can easily impersonate clients by just creating the proper .ASPXAUTH cookie with the FormsAuthentication class' methods. However generating HTTP Authentication header for NTLM is beyond me so far. I had my hopes up when I found this article (http://msdn.microsoft.com/en-us/library/ms998358.aspx#paght000025

git clone with NTLM proxy hangs after resolving deltas

时间秒杀一切 提交于 2019-12-18 11:54:34
问题 I saw here many questions covering git and proxy topics but none of them solves my problem. I am cloning a git repository from Bitbucket. Everything works fine from my home network but hangs at work where we are using proxy with NTLM authentication. See the output of git clone command: $ git clone https://my_user@bitbucket.org/my_user/my_project.git --verbose Cloning into 'my_project'... Password for 'https://my_user@bitbucket.org': POST git-upload-pack (174 bytes) remote: Counting objects:

Access Exchange Web Services with PHP and cURL

走远了吗. 提交于 2019-12-18 11:53:50
问题 Hello, I am currently writing a client to access a Microsoft Exchange server and read contacts, appointments etc. from it. Through days of searching I've been able to connect to the EWS via PHP's Soap client and a custom HTTPS Stream wrapper. This website helped me greatly at this point. Everything worked fine on my Windows 7 machine using XAMPP Now I uploaded my project to a Debian 6.0 Squeeze development machine that has exactly the same configuration as my Windows machine regarding the web