ntlm

NTLM Authentication fails ONLY with IE against 2k8 App server behind 2k8 IIS7 Reverse Proxy

I'm developing an ASP.NET application for an intranet site that is using Windows/NTLM/WIA/whatever authentication. The application is hosted on a Windows 2k8 server but is accessed through a Reverse Proxy using IIs7 on another 2k8 machine. Authentication works fine in FireFox, Chrome and Safari but fails in IE8. If I circumvent the Pr...

Is it possible to disable/bypass the login popup caused by mod_auth_ntlm_winbind (Single Sign On) and still get $_SERVER['REMOTE_USER']?

I have an intranet on a remote Web server. This will be integrated with Active Directory on our local server. The web server is running Apache / Linux and the AD server is running Windows 2003. This is all done with VPN. Login to the intranet is conducted in two ways: 1. Users who are logged in to AD to be logged in automatically with S...

End-to-end kerberos delegated authentication in ASP.NET

I'm trying to setup an internal website that will contact another backend service within the network on behalf of the user using a HttpWebRequest. I have to use Integrated Windows Authentication on the ASP.NET application as the backend system only supports this type of authentication. I'm able to setup IWA on the ASP.NET application, a...

NTLM authentication in Python

I'm trying to implement NTLM authentication on IIS (Windows Server 2003) from Windows 7 with python. LAN Manager Authentication Level: Send NTLM response only. Client machine and server are in the same domain. Domain controller (AD) is on another server (also running Windows Server 2003). I receive 401.1 - Unauthorized: Access is denied...

Apache Axis2 1.5.1 and NTLM Authentication

I've browsed all of the discussions here on StackOverflow regarding NTLM and Java, and I can't seem to find the answer. I'll try and be much more specific. Here's some code that returns a client stub that (I hope) is configured for NTLM authentication: ServiceStub getService() { try { ServiceStub stub = new ServiceStub( ...

Automatically authenticating windows users on an apache/Linux server

If I wanna authenticate windows accounts to AD when a user browses to an apache-running site on a Linux server, here are the usual suspects:   List item mod_ntlm (which I used in a distant past) - last update on 2003 mod_auth_ntlm_winbind - last update on 04/2007 mod_auth_kerb - last update on 12/2008 No luck getting any of those to ...

Django to do its own NTLM Authentication (HTTP Headers & all)

I'm considering moving from Apache to Lighttpd for an internal web application, written with python. The problem is that I'm relying on libapache2-mod-auth-ntlm-winbind ... which doesn't actually seem to be a well support & updated package (though that could be because it really does work well). I'm looking for suggestions and hints ab...

Secure Webservice (NTLM) - Jmeter

Hello All , I am trying to test a web service with Jmeter. The web service is protected with NTLM authentication(windows).I can able to load WSDL using WebService(SOAP) Request sampler. Currently it works only when I use proxy server with BurpSuit mentioned in this SO answer(Instead of SOUP UI, I'm using Jmeter with BurpSuite). But Ins...

What is my best option for submitting code to github from within an NTLM firewall?

Hi all, I'm thinking of using github to more nicely organise some of my code projects (i'm on a mission to implement all the major crypto algorithms in c, c#, js, golang, and ruby - but that's another story...). But i'm stuck behind an NTLM firewall. Any suggestions for how i'd check code in? Some kind of configuration of tortoisegit an...

NTLM authentication with GWT but getThreadRequest() is null

Hello, I am trying to get NTLM authentication to work with GWT. Unfortunately the getThreadRequest doesn't seem to be returning anything useful. I am doing this: http://www.jroller.com/paul/entry/using_ntlm_windows_login_and I have a suspicion that it won't work if I am testing locally? Will IE still send NTLM headers if I am testing...

adobe air 2, sharepoint ntlm webservice authentication

Hi, Is it possible to connect to a Sharepoint 2007 web service, using Adobe Air 2.0 / Flex 4? Does anyone know if this is possible, ideally with some examples? Thank you, Bob [EDIT] Connect using NTLM authentication on the webservice ...

[.NET 2.0] NegotiateStream can't work with Kerberos/NTLM/GSSAPI over SASL (POP3/IMAP/SMTP)?

Hi everyone! I'm trying to get Integrated Windows Authentication (using default credentials of the currently logged Windows user) to log in Exchange 2007 account (SMTP/POP3/IMAP). I already have working implementation for this but it uses SSPI functions and thus needs unmanagedcode permissions (no good). I tried to make use of Negotiat...

How can I connect to a Microsoft Dynamics CRM server using Python?

The Microsoft Dynamics CRM service uses NTLM authentication, which makes connecting to it from a python process using suds somewhat complicated. I'm looking for a code sample that will: Send and receive the response from a RetrieveAttributeRequest Send and receive the response from an Execute request. This must use Python 2.6 or Pyth...

spring ntlm showing blank page on public ip

my tapestry4-springntlm application is able to access successfully inside (LAN),internal ip address. but when we set it to external ip address and access it from outside, i get 'blank page' 401. i suspect is because spring security setting. i'm trying to acess http://202.xxx/myapp/app and get 401+blank screen (fail)-see below my appC...

Using sahi to test sharepoint application.

We're trying to test sharepoint application with NTLM authentication using Sahi web testing tool. We have problem with access to the sharepoint using Sahi proxy server - we can't sign in. So if someone know this problem or know how fix it, please anserw here. I think that problem is delegation of credentials but I'm not sure. Thanks i...

spring security-ntlm , no pop up asking username/password sometime

i experienced this and wonder any suggestion you folks can recommend. i'm using spring-security-ntlm 2.04. one or two users reported even though they set 'prompt for username and password' in their internet explorer. they are redirected to cannotlogin.jsp rather than seeing pop up asking for username and password. <security:http a...

Username according to ASP.NET Windows auth doesn't match logon name in Active Directory

My colleague changed his user logon name in Active Directory today in order to match a new company policy for logon names. On his machine, the %username% environment variable now shows the new logon name. Our intranet, which uses Windows Authentication (NTLM) is still reporting his the old username (through Page.User.Identity.Name). I...

URLDownloadToFile and Authentication

Hi I'm working on some old ATL OCX, that is used as "download manager". It downloads files using URLDownloadToFile API. Previously, it was hosted as ActiveX on web page so in case the server required authentication it was done by IE. Now it is part of executable, so it should take care of authentication. Let say user provided username...

Mechanize and NTLM Authentication

The following code generates a 401 => Net::HTTPUnauthorized error. From the log: response-header: x-powered-by => ASP.NET response-header: content-type => text/html response-header: www-authenticate => Negotiate, NTLM response-header: date => Mon, 02 Aug 2010 19:48:17 GMT response-header: server => Microsoft-IIS/6.0 response...

How to write an NTLM Authentication Module?

I would need to write an Authentication Module for IIS7 that behaves exactly like NTLM, but does some extra checking. The Module does NTLM against Active Directory (so that the module knows if the user is OK) and then needs to call another service to finally verify access. I have to do this in an Authentication Module because the actual...