[jcifs] JCIFS hostname

Eric Cartier eric.cartier at gmail.com
Wed Jan 21 16:43:55 GMT 2009


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.

Eric


2009/1/21 <John.Baker at barclayscapital.com>

>  Eric,
>
> Are you saying you're configing it and it's using something else?  Can you
> post more detail, such as how you're trying to set this up?  Apologies if
> you have - I couldn't see it in the mailing list web interface.
>
> john
>
>  ------------------------------
> *From:* jcifs-bounces+john.baker=barclayscapital.com at lists.samba.org[mailto:
> jcifs-bounces+john.baker <jcifs-bounces%2Bjohn.baker>=barclayscapital.com@
> lists.samba.org] *On Behalf Of *Eric Cartier
> *Sent:* 21 January 2009 15:54
> *To:* jcifs at lists.samba.org
> *Subject:* [jcifs] JCIFS hostname
>
> Hi,
>
> I have a Windows Domain with a policy restricting which users can log on to which server.  I am using jCIFS 1.3.1.
> I tried to use jcifs.netbios.hostname property to set the correct hostname for JCIFS server, create the computer object in the active directory.
> My user is allowed to log on his computer and the jcifs server (jcifs.netbios.hostname).
>
> The jcifs.netbios.hostname doesn't seem to work, I saw on the security event log of the active directory that the workstation name is called by the ip address not by the jcifs hostname(jcifs.netbios.hostname).
>
> Here is my error :
> Logon failure: user not allowed to log on to this computer
> Workstation Name : \\TheIpAddress
>
> Note that the hostname by jcifs is resolved by DNS and the reverse lookup
> is working too.
>
> My configuration is like this :
> -Djcifs.smb.lmCompatibility=1 (This parameter is static, must be initiate
> at the JVM startup)
>
> jcifs.smb.client.useExtendedSecurity=false
> jcifs.smb.client.username=user
> jcifs.smb.client.password=password
> jcifs.resolveOrder=DNS
> jcifs.http.domainController=mydomain.com
> jcifs.util.loglevel=9
> jcifs.netbios.hostname=myhostname
>
> Is there un bug that you have already seen, what do you suggest ?
>
> Thanks
>
> Eric Cartier
>
> email : eric.cartier at gmail.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.**
>
> _______________________________________________
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list