ntlm

TWebBrowser and NTLM-authencation

How can I connect with the TWebBrowser-component in Delphi from outside an ADS-Domain to a Sharepoint-Server. I've created an user-account in my domain and will connect with this information to the server. the following don't work: const USERNAME = '[email protected]'; PASSWORD = 'Password2009'; var Url, Headers: OleVariant;...

how to implement a web service client which connects to an external web service with authentication based on NTLM Authentication

Hi i'm quite new in implementing web service client in java. i found a tutorial very useful...http://wso2.org/library/tutorials/creating-web-service-client-3-steps-using-eclipse. in my case i got 401 error: Unauthorized. It is normal as to access the wsdl i need to type the username/password. how one can do in that case? Some input on t...

NTLM authentication using CXF wsdl2java stubs

I have a web service protected by HTTPS with NTLM authentication and I generated a set of java stubs using CXF's wsdl2java tool by temporarily disabling authentication. I am now attempting to use the Java stubs within an applet that connects to the web service with the authentication turned back on. My intention was to edit the Java st...

Stress Testing with NTLM Authentication

Hi, Looking for an open source web testing tool that can do Windows Authentication. I've used openSTA and Pylot in very small amounts but found neither to do windows. openSTA says you can do NTLM here: http://www.opensta.org/docs/sclref/build-auth-blob.htm I could not get it working - probably due to some config on the network or may...

NTLM as SSO, and Performing Certain Actions as an Impersonated Administrator

I can't seem to stumble upon the correct combination of IIS / ASP.NET settings to accomplish the following: All users on an internal domain should be able to access IIS site (w/ NTLM authentication), and the ASP.NET application should be able to get the username of the current user (aka the user is authenticated as themselves). The run...

Does git clone work through NTLM proxies?

I've tried both using export http_proxy=http://[username]:[pwd]@[proxy] and git config --global http.proxy http://[username]:[pwd]@[proxy]. I couldn't make it work. It looks like git uses Basic authentication: Initialized empty Git repository in /home/.../.git/ * Couldn't find host github.com in the .netrc file, using defaults * About...

Authenticate imaplib.IMAP4_SSL against an Exchange imap server with AUTH=NTLM

Yesterday, the IT department made changes to the Exchange server. I was previously able to use imaplib to fetch messages from the server. But now it seems they have turned off the authentication mechanism I was using. From the output below, it looks as if the server now supports NTLM authentication only. >>> from imaplib import IMAP4_...

Active Directory and NTLM Authentication

Im writing an IIS Application, which manages AD users. For this purpose Ive configured site to use Negitiate AuthenticationProvider, and everything works. I wonder, is NTLM suitable for operations with Active Directory (such as creating user accounts)? Or AD accepts only Kerberos authentication? ...

Squid asks for username and password when using NTLM

I have a proxy running squid and dansguardian on Ubuntu 9.10 server. It is joined to active directory and login succeeds. I've setup squid and dansguardian to use ntlm and it seems working. When I try to connect, it asks for password and when I provide my domain username and password, I can start browsing. However, it may be annoying fo...

Java Spring NtlmProcessingFilter second controller

<bean id="ntlmFilter" class="org.springframework.security.ui.ntlm.NtlmProcessingFilter"> <security:custom-filter position="NTLM_FILTER" /> <property name="stripDomain" value="true" /> <property name="defaultDomain" value="company" /> <property name="domainController" value="192.168.1.1" /> <property name="authenticati...

Can a Java Applet use the browser's NTLM authorization header?

I have a Java Applet which needs to post some stuff to the web. The code, the author of which has long since disappeared, is currently using raw Java.net.Sockets to communicate with the server. On the server side, the client requests are authenticated with NTLM or Kerberos. For requests coming from the browser itself, each HTTP header g...

ajax post to SharePoint web services interrupted by ntlm challenges

I've got a web part that uses javascript heavily in the implementation of a UI. It also makes use of asynchronous XmlHttpRequest requests to some of the SharePoint web services (I'm using SPServices, btw). For some requests, the user is confronted with NTLM authentication challenges, and after entering credentials, the request complete...

How can I tell what type of authentication a server is using?

I have to access a web server at http://someserver and it requires some authentication. How can I tell if it is using NTLM, Kerberos or whatever it may be? ...

Authenticating to a server in .NET using NTLMv1

I am working on a Win7 system with the local security policy Network Security: LAN Manager authentication level set to use NTLMv2 only. In a piece of code I am using the .NET WebClient class as follows: WebClient webClient = new WebClient(); NetworkCredential networkCredential = new NetworkCredential(DomainAccountUserName, DomainAc...

WCF - How to configure netTcpBinding for NTLM authentication?

I know how to configure basicHttpBinding for NTLM authentication, but can't figure out a way to do the same for netTcpBinding. Does netTcpBinding support NTLM? If so, how to force WCF service to use NTLM? BTW a well known method using identity element for some reason didn't work at all. I am looking for something like this - clientC...

Can't authenticate with different NTLM credentials in one session with java.net.URLConnection

When I access a HTTP server using the standard Java API (java.net.URLConnection), the credentials are "cached" after the first successful authentication, and subsequent calls to Authenticator.setDefault() have no effect. So, I need to restart the application in order to use different credentials. I don't observe this effect when Basic A...

Python NTLM proxy authentication problem using python-ntlm

I'm trying to use urllib2 and python-ntlm to fetch an url behind and NTLM-authenticated proxy (although it should also suppoprt Basic and Digest authentication), and I'm getting a 407 HTTP error. The code is: import urlib2 from ntlm import HTTPNtlmAuthHandler from urlparse import urlparse, urlunparse user = { 'id' : '...

Axis2 NTLM retrieve default credentials from client

I am working on a J2EE client (1.4 JVM) that needs to consume a NTLM secured web service. We run our J2EE applications on Weblogic (8.1.4 in this case) on Windows which in turn runs under an NT service account. In the past, we have used the Weblogic clientgen capability to generate the client stub and handle the connections. This work...

MSMapi32 works with 'Negotiate' authentication, but doesn't work with NTLM or Kerberos.

My application uses msmapi32 to connect to Exchange server and download incoming messages. If I use Negotiate authentication in mapi profile, everything works fine, but other options fail. I get a non-descriptive error when calling 'm_session.SignOn();' method. AFAIK, Negotiate just chooses between Kerberos and NTLM, so I'm confused. Al...

struts 2 intercepter with ntlm filter

How we can write the Struts 2 interceptor to include the ntlm filter. ...