[jcifs] user name from ntlm authentication

Christopher R. Hertel crh at ubiqx.mn.org
Mon Feb 16 17:53:26 GMT 2004


The user ID is not very usefull without context.  User 'foo' in one domain 
main not represent the same person as user 'foo' in another domain.

Since the '\' is not (I believe) a valid character in a userid, can't you 
just parse the string?

Chris -)-----

On Mon, Feb 16, 2004 at 03:06:54PM +0000, Vara wrote:
> Hi,
> 
> I am using jcifs for performing ntlm authentication. I am successfully able t$
> get the remote user information after doing so. The problem however is that a 
> call to request.getRemoteUser() gives me domain\userid. My app server has bee$
> configured to deal with only userid. Is there anyway I can change the remote 
> user info so I get back only userid instrea of domain\userid? Any info on thi$
> would be very helpful
> 
> Thanks!
> Vara
> 

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org


More information about the jcifs mailing list