[jcifs] Re: jcifs Digest, Vol 1, Issue 620

sharma rohit rohitspage at yahoo.com
Sun Feb 2 05:41:49 EST 2003


Is there anyone in/around Mumbai-India who is working
on JCIFS. I would like to personally visit that person
and have a look at things, as I am not able to get a
start of with JCIFS implementation.

Kindly reply to me at rohitspage at yahoo.com

--- jcifs-request at lists.samba.org wrote:
> Send jcifs mailing list submissions to
> 	jcifs at lists.samba.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://lists.samba.org/listinfo/jcifs
> or, via email, send a message with subject or body
> 'help' to
> 	jcifs-request at lists.samba.org
> 
> You can reach the person managing the list at
> 	jcifs-owner at lists.samba.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of jcifs digest..."
> 
> 
> Today's Topics:
> 
>    1. he requested resource is not available (Rob
> Meijer)
>    2. RE: he requested resource is not available
>        (Allen, Michael B (RSCH))
> 
> 
>
----------------------------------------------------------------------
> 
> Date: Thu, 30 Jan 2003 17:58:56 +0100 (CET)
> From: Rob Meijer <static at xs4all.nl>
> To: jcifs at lists.samba.org
> Subject: [jcifs] he requested resource is not
> available
> Message-ID:
> <20030130175418.F84512-100000 at xs1.xs4all.nl>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> MIME-Version: 1.0
> Precedence: list
> Message: 1
> 
> Hi everyone,
> 
> I've been playing all days with jcifs, but i keep
> getting what seem to be
> authentication errors
> if i goto http://hostname:8180/NetworkExplorer i get
> a list of workgroups
> and domain
> however, when i click on one of these workgroups and
> domains i get :
> 
> type Status report
> 
> message /FINANCE/
> 
> description The requested resource (/FINANCE/) is
> not available.
> 
> What i want is relatively simple.
> All the users that come to this webserver only need
> access to 1 workgroup,
> FINANCE, which is a samba/cifs server on this same
> server.
> Then i want user to authenticate against samba.
> here are the relevant parts of the config files
> web.xml
> 
> 
>    <filter>
>         <filter-name>NTLM HTTP Authentication
> Filter</filter-name>
>        
>
<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
> 
>         <init-param>
>            
> <param-name>jcifs.http.domainController</param-name>
>             <param-value>hostname</param-value>
>         </init-param>
> 
>         <init-param>
>            
> <param-name>jcifs.smb.client.domain</param-name>
>             <param-value>FINANCE</param-value>
>         </init-param>
>         <init-param>
>            
> <param-name>jcifs.netbios.wins</param-name>
>             <param-value>hostname</param-value>
>         </init-param>
> </filter>
> 
>     <servlet>
>         <servlet-name>NetworkExplorer</servlet-name>
>        
>
<servlet-class>jcifs.http.NetworkExplorer</servlet-class>
> 
>         <init-param>
>            
> <param-name>jcifs.smb.client.domain</param-name>
>             <param-value>FINANCE</param-value>
>         </init-param>
>         <init-param>
>            
> <param-name>jcifs.smb.client.username</param-name>
>             <param-value>username</param-value>
>         </init-param>
>         <init-param>
>            
> <param-name>jcifs.smb.client.password</param-name>
>             <param-value>password</param-value>
>         </init-param>
>         <init-param>
>            
> <param-name>jcifs.netbios.baddr</param-name>
>             <param-value>hostname</param-value>
>         </init-param>
>     </servlet>
> 
> 
> smb.conf
> 
> [global]
>    workgroup = FINANCE
>    encrypt passwords = Yes
>    security = user
>    domain logons = Yes
>    load printers = No
>    lock directory = /var/lock
>    wins support = Yes
> 
> [NET]
>    path = /home/net
>    read only = No
>    public = Yes
>    guest ok = No
>    writeable = Yes
>    valid users= username,username,username
>    strict locking = Yes
>    shares modes = Yes
> 
> I'm using jcifs 0.7.1, tomcat 4.1.18,and samba
> 3.0a20
> 
> 
> Can anyone offer suggestions how to get this
> working?
> 
> 
> ------------------------------
> 
> Date: Thu, 30 Jan 2003 20:46:05 -0500
> From: "Allen, Michael B (RSCH)"
> <Michael_B_Allen at ml.com>
> To: "'Rob Meijer'" <static at xs4all.nl>,
> jcifs at lists.samba.org
> Subject: RE: [jcifs] he requested resource is not
> available
> Message-ID:
>
<19B572CFAC42D211A20000805FA7875A07F0FF4B at eat404.hew.us.ml.com>
> Content-Type: text/plain; 
>  charset=iso-8859-1
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Precedence: list
> Message: 2
> 
> It is vital that directories contain a trailing '/'.
> The HTTP URL you are using is
> confusing the application server. You want to use a
> URL like:
> 
>    http://hostname:8180/servlet/NetworkExplorer/
> 
> and
> 
>  
>
http://hostname:8180/servlet/NetworkExplorer/FINANCE/
> 
> Once the trailing '/' is there it will persist as
> you drill down and you should
> not have a problem.
> 
> Also please note that NetworkExplorer is flawed in
> two possibly critical ways:
> 
> 1) It does not URL encode or decode paths. This will
> cause problems with
> Unicode and possibly other funny character
> combinations. The solution to
> this problem remains to be seen. Primarily we are
> not sure how Unicode should
> be represented in an HTTP URL or even if any
> browsers support such a thing.
> 
> 2) It cannot list directories with more than ~2000
> files in them. It can but it
> uses a lot of CPU on the server with all the
> formatting and timestaming. There
> really should be a lean mode. Otherwise jCIFS can
> list ~15000 files in
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


More information about the jcifs mailing list