You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Dave Seidel <da...@mindreef.com> on 2005/01/20 16:37:03 UTC

NTLM help -- how to get domain?

We're getting a report from a customer that NTLM auth is not working in
their enviromment.  He was ble to send me a couple of Ethereal captures, one
showing a succesful login form IE, and another showing an unsuccesful login
from our product, which embeds HTTPClient 2.0.  So far, it looks like the
main difference is that IE usies the proper domain name for the client
machine; in our code, we have been punting by using the client machine name
for the domain, which I will only work in some environments.
 
So my question is: how do you discover NT domain name from within Java
(assuming that http.auth.ntlm.domain is not set)?
 
- Dave
 
---
Dave Seidel
http://www.mindreef.com <http://www.mindreef.com/>