rd /s, "can't find the file specified" (internal reference b1996)

Richard Sharpe rsharpe at richardsharpe.com
Wed Mar 19 08:05:46 GMT 2003


On Mon, 17 Mar 2003, Nir Soffer wrote:

> 
> Enjoy.

OK, now that I have looked at both traces in more detail, here is what is 
happening:

The bad trace, perhaps the one from UNIX, is returning exactly the same 
short name for each of those files, 0123456789AB.

The client tries to use the short name, and the server obviouly gets 
confused.

In the second case, the short names are all correct looking names, or the 
form 012345~1, 012345~2 etc.
 
Have you modified Samba's name mangling code to do silly things?

> >From a very very fast look, it looks like something with file mangling, but IANA Samba Expert.
> 
> baddosdel.cap is against Samba-CVS (From yesterday)
> gooddosdel.cap is against my personal W2K workstation.
> 
> --
> Nir Soffer -=- Exanet Inc. -=- http://www.evilpuppy.org
> "Father, why are all the children weeping? / They are merely crying son
>  O, are they merely crying, father? / Yes, true weeping is yet to come"
>         -- Nick Cave and the Bad Seeds, The Weeping Song
>  
> 
> > -----Original Message-----
> > From: Richard Sharpe [mailto:rsharpe at richardsharpe.com]
> > Sent: Monday, March 17, 2003 9:23 AM
> > To: Nir Soffer
> > Cc: samba-technical at lists.samba.org
> > Subject: RE: rd /s, "can't find the file specified" (internal 
> > reference b1996)
> > 
> > 
> > On Sun, 16 Mar 2003, Nir Soffer wrote:
> > 
> > > 
> > > Following up to myself, reproducing this is apparently even simpler 
> > > than I thought - simply do a:
> > > 
> > > "touch nir test test"
> > > 
> > > and try to delete it from a DOS command line. It will fail.
> > > 
> > > "nirtest123456" fails as well, but "nirtest12345" so it seems to 
> > > filename size related. 13 characters won't work and 12 
> > will. Perhaps 
> > > it's because something is geared towards 8 characters, a dot, and 3 
> > > characters somewhere along the line?
> > > 
> > > Needless to say, it works fine on w2k shares...
> > 
> > Can you get us a sniff?
> > 
> > Regards
> > -----
> > Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
> > sharpe[at]ethereal.com, http://www.richardsharpe.com
> > 
> > 
> 

-- 
Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: baddosdel.cap
Type: application/octet-stream
Size: 4389 bytes
Desc: baddosdel.cap
Url : http://lists.samba.org/archive/samba-technical/attachments/20030319/738b8fba/baddosdel.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gooddosdel.cap
Type: application/octet-stream
Size: 5705 bytes
Desc: gooddosdel.cap
Url : http://lists.samba.org/archive/samba-technical/attachments/20030319/738b8fba/gooddosdel.obj


More information about the samba-technical mailing list