ntlm

SMTP through Exchange using Integrated Windows Authentication (NTLM) using Python

风格不统一 提交于 2019-12-18 10:55:21
问题 I want to use the credentials of the logged-in Windows user to authenticate an SMTP connection to an Exchange server using NTLM. I'm aware of the python-ntlm module and the two patches that enable NTLM authentication for SMTP, however I want to use the current user's security token and not have to supply a username and password. Very similar problem to Windows Authentication with Python and urllib2. 回答1: Although the solution below only uses the Python Win32 extensions (the sspi example code

Android Windows authentication

荒凉一梦 提交于 2019-12-18 09:46:20
问题 DefaultHttpHandler is deprecated, HttpURLConnection does not support NTLM and NTLM seems to be the only well-supported protocol by ASP.NET MCV websites. So, what's left to do? In our business we use Microsoft. We log in using Microsoft, our webmail is done by Microsoft, and our tablet applications are Android... Currently I'm working on a project that requires a connection to an ASP.NET entity framework webinterface. This webinterface is hosted on an IIS, configured with Windows

How can I use NTLM authentication in a Delphi SOAP Web Service client?

纵饮孤独 提交于 2019-12-18 04:27:07
问题 For a Microsoft CRM project, we need NTLM authentication in the Delphi 2009 web service client. It looks like Indy 10 Tiburon already has experimental NTLM support. How can I activate the NTLM authentication for the THTTPRio component and use the logon information (user name, password, domain) of the destination web service server? Edit: it would also be helpful if there is a way to use other authentication methods than 'Basic', for example HTTP Digest access authentication. 回答1: In the user

NTLM Authentication - Get Windows login, domain and host in PHP

核能气质少年 提交于 2019-12-18 03:56:12
问题 I am working on a Single Sign-On (SSO) PHP application. Users log in their Windows session, and they want to be automatically logged in the application with their Windows account (connected with LDAP Active Directory). I tried this script : <?php $headers = apache_request_headers(); // Récupération des l'entêtes client if (@$_SERVER['HTTP_VIA'] != NULL){ // nous verifions si un proxy est utilisé : parceque l'identification par ntlm ne peut pas passer par un proxy echo "Proxy bypass!"; }

Why is CNTLM asking for password?

浪子不回头ぞ 提交于 2019-12-18 03:12:45
问题 I have configured CNTLM Proxy Authorization on Windows with configuration file looking like, Auth NTLM PassNT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX PassLM YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY PassNTLMv2 ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ Proxy proxy.xxxx.com:8080 Listen 3130 And I use localhost:3130 as proxy in LAN Settings, hit any URL on browser and it is asking for the password again!. If I enter the same password with which I generated the hash, it works. Simply the purpose of Cntlm is beaten. Has

git client using GSSAPI for NTLM proxy authentication

纵饮孤独 提交于 2019-12-18 02:58:12
问题 Like many, Im trying to access github.com from behind a corporate proxy. Apparently* curl (via libcurl) now includes GSSAPI support for NTLM proxy authentication without having to manually divulge username and password. Since git client uses libcurl, I assume this is accessible via git. How do I access this using git client ? (*) See NTLM proxy without password?, for a discussion of ntlm proxy authentication without providing the password. See also Using Libcurl to authenticate ntlm proxy

How to support NTLM authentication with fall-back to form in ASP.NET MVC?

扶醉桌前 提交于 2019-12-17 22:19:49
问题 How can I implement following in ASP.NET MVC application: user opens intranet website user is silently authenticated if possible if NTLM authentication didn't worked out, show login form to user user indicate login password and select domain from list of predefined domains user is authenticated in code using AD I know how to implement 4 and 5 but cannot find info on how to combine NTLM and forms. So that NTLM native login/password dialog is never shown - transparent authentication or nice

“The matching wildcard is strict, but no declaration can be found for element 'http'” Error

心不动则不痛 提交于 2019-12-17 19:13:12
问题 I am trying to configure NTLM authentication, but receive error: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http'. I read a lot of topics with a similar error, but I could not find a solution to my problem. My security.xml file that causes an error is: <beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi

Calling IPrincipal.IsInRole on Windows 7

送分小仙女□ 提交于 2019-12-17 18:42:00
问题 We use NTLM auth in our application to determine whether a user can perform certain operations. We use the IPrincipal of their current Windows login (in WinForms applications), calling IsInRole to check for specific group memberships. To check that a user is a local administrator on the machine, we use: AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal); ... bool allowed = Thread.CurrentPrincipal.IsInRole(@"Builtin\Administrators") This works if the current user is

The HTTP request is unauthorized with client authentication scheme 'Ntlm' The authentication header received from the server was 'NTLM'

五迷三道 提交于 2019-12-17 08:23:14
问题 I know there's a lot of questions on SO similar to this, but I couldn't find one for this particular issue. A couple of points, first: I have no control over our Sharepoint server. I cannot tweak any IIS settings. I believe our IIS server version is IIS 7.0. Our Sharepoint Server is anticipating requests via NTLM. Our Sharepoint Server is on the same domain as my client computer. I am using .NET Framework 3.5, Visual Studio 2008 I am trying to write a simple console app to manipulate