[jcifs] JCIFS with Windows Vista / IE 7
Merlin Beedell
merlin_b_wizard at hotmail.co.uk
Mon Oct 2 12:03:56 GMT 2006
Yes, I managed to perform a single-sign-on with the User/Pwd in the config
file, using Windows Vista. It is a bit of a nuisence to have a User/Pwd in
the config - but it seems to be the only reliable solution for many other
issues too.
PS. I prefer to put the config into a properties file, and simply set the
jcifs filter in web.xml to point to it..
<filter>
<filter-name>NtlmHttpFilter</filter-name>
<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
<init-param>
<param-name>jcifs.properties</param-name>
<param-value>/opt/jcifs.properties</param-value>
</init-param>
</filter>
In /opt/jcifs.properties...
; full listing of properties can be included below and at
; http://jcifs.samba.org/src/docs/api/overview-summary.html#scp
jcifs.http.domainController=10.10.10.123
jcifs.smb.client.username=USER1
jcifs.smb.client.password=PASS1
jcifs.smb.client.soTimeout=400000
...etc...
>From: jbaker-jcifs at javasystemsolutions.com
>To: jcifs at lists.samba.org
>Subject: [jcifs] JCIFS with Windows Vista / IE 7
>Date: Wed, 30 Aug 2006 13:04:31 +0100
>MIME-Version: 1.0
>Received: from lists.samba.org ([66.70.73.150]) by
>bay0-pamc1-f8.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed,
>30 Aug 2006 05:08:41 -0700
>Received: from dp.samba.org (localhost [127.0.0.1])by lists.samba.org
>(Postfix) with ESMTP id 1650C1638FFfor <merlin_b_wizard at hotmail.co.uk>;
>Wed, 30 Aug 2006 12:08:40 +0000 (GMT)
>Received: from jasper.dryfish.org (jasper.dryfish.org [212.13.204.101])by
>lists.samba.org (Postfix) with ESMTP id BA12A162BCEfor
><jcifs at lists.samba.org>; Wed, 30 Aug 2006 12:04:31 +0000 (GMT)
>Received: by jasper.dryfish.org (Postfix, from userid 1034)id 70FBB5456;
>Wed, 30 Aug 2006 13:04:31 +0100 (BST)
>X-Message-Info: LsUYwwHHNt1Y8mwpDCR+oRCCRHjRUtfLT0fkMHk5Qs8=
>X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on dp.samba.org
>X-Spam-Level: X-Spam-Status: No, score=-0.4 required=3.8
>tests=AWL,BAYES_00,NO_REAL_NAME autolearn=no version=3.1.3
>X-Original-To: jcifs at lists.samba.org
>Delivered-To: jcifs at lists.samba.org
>User-Agent: Mutt/1.4.2i
>X-BeenThere: jcifs at lists.samba.org
>X-Mailman-Version: 2.1.5
>Precedence: list
>List-Id: "An SMB/CIFS implementation in Java." <jcifs.lists.samba.org>
>List-Unsubscribe:
><https://lists.samba.org/mailman/listinfo/jcifs>,<mailto:jcifs-request at lists.samba.org?subject=unsubscribe>
>List-Archive: <http://lists.samba.org/archive/jcifs>
>List-Post: <mailto:jcifs at lists.samba.org>
>List-Help: <mailto:jcifs-request at lists.samba.org?subject=help>
>List-Subscribe:
><https://lists.samba.org/mailman/listinfo/jcifs>,<mailto:jcifs-request at lists.samba.org?subject=subscribe>
>Errors-To: jcifs-bounces+merlin_b_wizard=hotmail.co.uk at lists.samba.org
>Return-Path: jcifs-bounces+merlin_b_wizard=hotmail.co.uk at lists.samba.org
>X-OriginalArrivalTime: 30 Aug 2006 12:08:41.0415 (UTC)
>FILETIME=[08757D70:01C6CC2D]
>
>Hello,
>
>I got that error too! Have you tried using the username/password
>properties? I.e.:
>
>
> <init-param>
> <param-name>jcifs.smb.client.username</param-name>
> <param-value>jcifsAccount</param-value>
> </init-param>
>
> <init-param>
> <param-name>jcifs.smb.client.password</param-name>
> <param-value>password</param-value>
> </init-param>
>
>
>
>John
>
>
>
>--
>John Baker, Java System Solutions.
>http://www.javasystemsolutions.com
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters
More information about the jcifs
mailing list