[jcifs] (no subject)
juliana at relevanz.com
Wed Feb 18 09:59:54 GMT 2004
Thank you so much for your prompt response..
I've read through the documentation on jCIFS NTLM HTTP Authentication and
the Network Explorer Servlet that ask to implement the filter you just
I've added the following into the web.xml as instructed
<filter-name>NTLM HTTP Authentication Filter</filter-name>
<!-- For development, any SMB server is suitable for validating
<!-- <param-value>192.168.1.16</param-value> This was changed to
my own machine IP address-->
but however, after many attempts, still fail to get a value from
>From the installation guide,
"If the NTLM HTTP Authentication Filter is not enabled something like the
following will be displayed: null successfully logged in "
how was it supposed to be enabled?
how can i resolve this? any suggestions is welcome :-)
thanks in advance
----- Original Message -----
From: "Eric" <eglass1 at comcast.net>
To: "Juliana" <juliana at relevanz.com>
Cc: <jcifs at lists.samba.org>
Sent: Wednesday, February 18, 2004 5:12 PM
Subject: Re: [jcifs] (no subject)
> This is the wrong JCIFS, apparently; a Google on CifsSessionManager
> turns up Norbert Hranitzky's package:
> Not familiar with that really, but it looks like an option might be
> (our) NtlmHttpFilter; this provides NTLM authentication for servlets,
> and gives you the remote username in getRemoteUser().
> It looks like the approach you're taking (currently) is:
> 1) Client makes an anonymous connection to the servlet.
> 2) Servlet connects back to the client.
> 3) Servlet performs RAP calls to get the workstation and user
> information from the client.
> Again, I'm not familiar with the package so I can't give too much
> clarifying information. It may be that the client workstation requires
> a specific privilege level to return the logged on username over RAP (a
> lot of the RAP calls require local admin on the target box).
> Juliana wrote:
> > Hi
> > I have an issue regarding the retrival of user name from workstation.
> > My main purpose is to use the user name to perform a check of whether
> > the user is part of the Active Directory so that
> > a single signon can be performed to access the intranet system.
> > here is my scenerio:
> > logged on client application server
> > |
> > |
> > |-------------------------send request(url)------------------------> |
> > (server activate servlet, get request host and
> > |
> > | performs a CifsSessionManager.connectRemoteAdmin(sessionName,
> > | <----------------------connectRemoteAdmin()-----------------|
> > |
> > |
> > | <-------------CifsRemoteAdmin.getWorkstationInfo()--- |
> > | <-------------CifsRemoteAdmin.getUserName()-----------| (returns me an
> > empty string here.)
> > |
> > |
> > after which the server connects successfully to the client, i do a
> > CifsRemoteAdmin.getWorkstationInfo() to retrieve the
> > workstation information as well as the logged on username (by invoking
> > the CifsWorkstationInfo.getUserName())
> > though i was able to get the logon domain and workstation name, the
> > value returned to me after invoking the getUserName() is an empty
> > May I know if there are any walk around or other solution to this? or
> > how can i get the logon username of the client anyway?
More information about the jcifs