[jcifs] JCIFS hostname

John.Baker at barclayscapital.com John.Baker at barclayscapital.com
Thu Jan 22 08:06:34 GMT 2009


Why are you so uninterested in maintaining the NtlmHttpFilter?  Users
have reported that this is one of the most useful features of the
package.  It's not hard to keep it, and it's not hard to fix the static
Configuration system that's causing so many problems. 

What I'd like to see is a Kerberos filter that falls back to NTLM, so
jcifs is a drop in replacement for other commercial SSO solutions.  We
could certainly make use of it here!


> -----Original Message-----
> From: 
> jcifs-bounces+john.baker=barclayscapital.com at lists.samba.org 
> [mailto:jcifs-bounces+john.baker=barclayscapital.com at lists.sam
> ba.org] On Behalf Of Michael B Allen
> Sent: 21 January 2009 20:42
> To: Eric Cartier
> Cc: jcifs at lists.samba.org
> Subject: Re: [jcifs] JCIFS hostname
> On Wed, Jan 21, 2009 at 2:41 PM, Eric Cartier 
> <eric.cartier at gmail.com> wrote:
> > Thanks Allen
> >
> > But after any change of my configuration, I restart 
> Tomcat... I'm in Lab.
> >
> > And I'm already using the parameter -Djcifs.properties=file.prp and 
> > the other parameters on the prp file are working !
> >
> > In the Active Directory event log, the workstation name for 
> JCIFS is 
> > the ip address of the server, but I red that de default 
> name is JCIFS 
> > or something like that. So it's not what it seem to happen.
> >
> > Do you have a trick to debug ? JCIFS doesn't verbose so high...
> Maybe it's broken. It could be that that code doesn't force 
> NetBIOS to be used anymore (this is just a guess but it would 
> explain the IP address - you would have to look at a packet 
> capture to confirm that).
> As described in that property's documentation NetBIOS (port 
> 139) must be used for it to work. And if it is broken I have 
> no interest in fixing it as the Filter is going to be removed 
> from JCIFS eventually.
> Mike
> > 2009/1/21 Michael B Allen <ioplex at gmail.com>
> >>
> >> On Wed, Jan 21, 2009 at 11:43 AM, Eric Cartier 
> >> <eric.cartier at gmail.com>
> >> wrote:
> >> > Sorry for that, I will explain the context...
> >> >
> >> > We have a Tomcat application server and we want windows 
> XP users to 
> >> > be logging in with jcifs (for SSO using NTLMv1).
> >> >
> >> > So we restricted access from users to log on computers. The 
> >> > computer account (for tomcat jcifs server) in the active 
> directory 
> >> > must be use to permit users to access the web application.
> >>
> >> It sounds like maybe that init-param is being ignored. 
> Make sure you 
> >> fully restart Tomcat after making changes to init-params. JCIFS 
> >> properties are global statics that are loaded once when 
> classes are 
> >> initialized so even though some containers are smart enough to 
> >> re-initialize things after updating an app, you still need to 
> >> completely restart the container to reload those global 
> statics. To 
> >> be absolutely sure JCIFS properties are being read correctly, you 
> >> should really use a properties file set with 
> >> -Djcifs.properties=file.prp from the Tomcat command-line.
> >>
> >> Mike
> >>
> >> --
> >> Michael B Allen
> >> Java Active Directory Integration
> >> http://www.ioplex.com/
> >
> >
> --
> Michael B Allen
> Java Active Directory Integration
> http://www.ioplex.com/

This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing.  Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP.  This email may relate to or be sent from other members of the Barclays Group.

More information about the jcifs mailing list