[jcifs] share name length,

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Fri Feb 7 15:33:12 EST 2003


Very good point. I'm sure you can connect to and use such shares as you would any.

> -----Original Message-----
> From:	Christopher R. Hertel [SMTP:crh at ubiqx.mn.org]
> Sent:	Thursday, February 06, 2003 11:15 PM
> To:	Allen, Michael B (RSCH)
> Cc:	'Vinay T'; jCIFS
> Subject:	Re: [jcifs] share name length,
> 
> That is only a query limit, though (at least I think so).
> 
> The query sent to the server asking for the list of shares limits the 
> share name to 13 characters.  I do not know whether or not it is possible 
> to connect to a share with a longer name.  These are separate parts of the 
> protocol and may have separate limits.
> 
> Chris -)-----
> 
> On Thu, Feb 06, 2003 at 11:07:57PM -0500, Allen, Michael B (RSCH) wrote:
> > The believe limit is 13 characters. Longer share names and Unicode support
> > requires DCE/RPC which is not supported and is not being explored at this time.
> > 
> > Mike
> > 
> > > -----Original Message-----
> > > From:	Vinay T [SMTP:vinay.t at sun.com]
> > > Sent:	Friday, February 07, 2003 4:36 AM
> > > To:	jCIFS
> > > Subject:	[jcifs] share name length,
> > > 
> > > hi,
> > > 
> > >  What is the maximum characters allowed in the shareName?. Is it a
> > > restriction or can it be increased by specifying the value to some
> > > property.
> > > 
> > > If it is a restriction, can someone send me the pointers to docs or code
> > > snippets that specifies the restriction on the shareNameLength.
> > > 
> > > If it can be increased, then to which property the value has to be
> > > specified or is there any other ways?
> > > 
> > > Currently in my jCIFS version(jcifs-0.7.0b8), only shareNames of size 12
> > > are allowed.
> > > 
> > > thanks in advance,
> > > vinay at t.
> > > 
> > > 
> > > 
> > 
> 
> -- 
> 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