long name shares

Simo Sorce simo.sorce at polimi.it
Mon Nov 20 11:19:06 GMT 2000

Jean Francois Micouleau wrote:
> On Mon, 20 Nov 2000, Simo Sorce wrote:
> > Hi, I've seen NT is not able to use samba shares longer 12 chars.
> > While they are correctly shown as shares, tring to connect to this
> > shares throws an error.
> > I've tested on 2.0.7 and HEAD CVS.
> > I've also got a trace between NT4sp6 and HEAD and between 2 NT4sp6.
> > I got only an ethereal trace of the connection to the shares (a bit
> > difficult as running 2 NT4 and ethereal + gnome with 128M RAM is a Pain
> > :( )
> > What I've seen is that beetwen NT4sp6 and HEAD,
> > NT issues only SRV_NETSHAREENUM requests, samba answers correctly and NT
> > fail.
> Are you sure samba answers correctly ? A quick look at parse_srv.c from
> HEAD shows some missing prs_align().

I see the answers come back from samba (both 2.0.7 and HEAD)
and smbclient (under linux) is able to reach samba shares longer than 12
chars that NT is not able to resolve.
> > Instead beetwen the 2 NT I see TRANS2... packets and it works!
> > Is this connected to the kind of LANMAN protocol used?
> > (I see from logs that samba choose LM0.12)
> LM0.12 should also be negociated between 2 NT box ?

I think NT used LANMAN2, but I'm not sure, I've tested at home and does
not have the traces here.
I'm going to install a second vmware NT here (256Mb RAM helps a lot :)
and will try to have a complete trace!

Are you interested in the logs and traces I get?
Simo Sorce - Integrazione Sistemi Unix/Windows - Politecnico di Milano
E-mail: simo.sorce at polimi.it
Tel.int: 02 2399 2425 - Fax.int. 02 2399 2451
Be happy, use Linux!

More information about the samba-technical mailing list