ntlm

Windows loginID help on Windows/Apache2.2 environment

Hello Apache/Win Masters: I really could use some help in solving what appears to be a trivial issue. In summary, I want to know the Window's loginID for the user accessing a Perl .cgi running in Apache on a Windows environment. Here's my basic Apache2 conf additions: ---- begin httpd.conf ----- ... LoadModule sspi_auth_module modu...

How to impersonate a user when calling a .NET web service from a SharePoint webpart?

What is the best practice for impersonating the current SharePoint user when accessing a web service that uses NTLM authentication? The webpart has the user name but not password, and apparently, passing the network credential from the webpart does not work. The remote web service uses NTLM to authorize the user. ...

Safari problems accessing Windows Integrated Authentication (aka NTLM) protected web site

Hi all, Our web application uses Windows Integrated Authentication (aka NTLM Auth) for security. It's working fine for both IE and Firefox users, but Safari users are seeing intermittent problems. Browsing the site will work fine, but every once in a while there will be problems loading elements of a page (e.g. CSS or JS files). Relo...

NTLM Authentication with GetHttpConnection

Hi all, I have a VC++ (6.0) app. We want to use NTLM Authentication to access a server. I prompt for the URL, ID, and Password and send these in my internetSession.GetHttpConnection call, and if you enter the domain\id and the password, it works fine, using NTLM. We want users who are currently logged in on the same domain as the serv...

SharePoint Infrastructure Update Authentication Issues

I've got a SharePoint MOSS 2007 development setup on to which I installed the WSS infrastructure update. Now, whenever I try to access any site collection in my SharePoint farm using IE7 I get a username and password prompt. I enter valid credentials for my Site Collection admin account and I see the box again. This happens three time...

WCF/basicHttp and NTLM authentication

Does anyone know how exactly NTLM authentication works in WCF/basicHttp? I wonder if user credentials are passed for every single service method call, or if some kind of security token is being used for subsequent service method calls. The exact binding configuration that I am using: <bindings> <basicHttpBinding> <binding name="w...

How strong is User.Identity.Name?

I am writing an ASP.Net MVC application that uses NTLM authentication, so users don't need to register with the site. If I have disables anonymous access, can I use User.Identity.Name as the ownership key in the database. What I'd like to do is to be able to issue a search such as from station in db.stations where station.user == usern...

Do I need to use Membership services with NTLM

If I have an ASP.Net MVC applicaiton where users can only access via an NTLM authenticate account, do I need to use ASP.Net Membership services and issue cookies? Or do I have completely the wrong end of this particular stick? ...

IIS WCF Service Accesed via JAVA with NTLM Authentication

We have a WCF Service hosted in IIS 6 with Integrated Windows Authentication turned on under Directory Security. Consuming this service from a .NET Windows client the cached NTLM credentials flow to the Server PC and things work great. We would like to have the same occur when a Java client accesses the service (via the WSDL generated ...

NTLM Authentication in ColdFusion

Is there a recommended (and preferably free) way in ColdFusion to access a remote file that is protected by NTLM authentication? The cfhttp tag appears to only support Basic authentication. ...

How can I get jcifs to play nicely with apache axis

I need to connect Apache Axis 1.4 to a Webservice that uses NTLM authentication to restrict access to its operations. I'm expecting to use Samba Jcifs to handle the NTLM handshake. I found http://hc.apache.org/httpcomponents-client/ntlm.html which gives me fantastic directions for how to wire up HttpClient 4.0 with jcifs. Trouble is...

How is a password within System.Net.CredentialCache.DefaultCredentials encrypted?

If I pass the current users credentials to a webservice by using system.net.credentialcache.defaultcredentials, on which way will the information be transfered? I don't think that it will be clear text, so the credentials have to be encrypted, but how are they? ...

NtlmSsp vs kerberos

can anyone elaborate the different? i'm currently using ntlmssp.authenticaten ( jcifs) but seems not able to do getPassword(). it's always return null ...

How do I pass the currently logged in user's credentials to a web service using Integrated Windows Auth from Perl

I am having a frustrating time trying to do something with Perl that would take a couple of lines of code in C#, namely to call a web service on a Windows server that requires Integrated Windows Authentication. The most likely candidate I've found for success is a module called LWP::Authen::Ntlm, but all the examples I've googled requir...

IIS -> connector -> Tomcat (NTLM authentication)

Hi All, I wanted to get feedback on a potential setup and wanted to make sure it would likely work before embarking on this path. I want to use IIS in from of Tomcat to do NTLM authentication. There is a Web service running in tomcat that would get requests get forwarded to it by IIS. This service requires knowledge of the remote NT u...

How do I integrate NTLM authentication with Perl's SOAP::Lite module?

This Perl code works with Anonymous access to an ASP.NET web service, but when integrated security is turned on, the service returns 401 errors. I think I need to use the NTLM module in conjunction with SOAP::Lite, but it's not clear how to do so. How can these components be integrated? use SOAP::Lite; use strict; my $proxy = "http://l...

Determine if browser supports windows integrated authentication

Is there a way to determine if a browser supports NTLM without having NTLM enabled for the particular site or directory in IIS and without showing a login dialog/pop-up? Preferably, determine this using ColdFusion or perhaps some combination of JS and CF. I'd prefer not to restrict this to just IE as other browsers (such as FF) support N...

System.Net.WebClient doesn't work with Windows Authentication

I am trying to use System.Net.WebClient in a WinForms application to upload a file to an IIS6 server which has Windows Authentication as it only 'Authentication' method. WebClient myWebClient = new WebClient(); myWebClient.Credentials = new System.Net.NetworkCredential(@"boxname\peter", "mypassword"); byte[] responseArray = myWebClient...

WCFTestClient The HTTP request is unauthorized with client authentication scheme 'Anonymous'

I've created one WCF service and deployed it on Server. When I browse this service it gives me positive response with ?wsdl URL. Now I'm trying to test the service through WCF Test client. It shows proper metadata. But when I try to invoke any of the method from the service it shows me an exception... here are the erro details with stack...

JCIFS NTLM Authentication for HTTP Connections on GlassFish (or any servlet container)

I've created a Java class that connects to an IIS website requiring NTLM authentication. The Java class uses the JCIFS library and is based on the following example: Config.registerSmbURLHandler(); Config.setProperty("jcifs.smb.client.domain", domain); Config.setProperty("jcifs.smb.client.username", user); Config.setProperty("jcifs.smb....