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

Richard Sharpe rsharpe at richardsharpe.com
Wed Mar 19 18:32:11 GMT 2003


On Wed, 19 Mar 2003, Nir Soffer wrote:

> > On Wed, 19 Mar 2003, Nir Soffer wrote:
> > 
> > > > I can't reproduce this at all on a recent (CVS) build
> > > > of SAMBA_3_0. Can you give me more details on *exactly*
> > > > how you reproduce it please ?
> > > 
> > > What I did was simply do, on the unix side:
> > > 
> > > mkdir b1996
> > > cd b1996
> > > touch nirtest123456
> > > touch nirtest12345
> > > 
> > > and on the W2K side use a command line prompt, map the drive using 
> > > net use, and try to rd /s b1996
> > 
> > OK, that explains the insistence on using short names. Did 
> > you use command 
> > or cmd?
> 
> Okay. I was being stupid. Very very stupid, and I apologize. Turns 
> out mangled filenames was disabled. But is this the expected error when 
> manged filenames are disabled?

I would hope not. I think that if mangled file names are disabled, we 
should perhaps return nothing in the short name field in a 
FindFirst/FindNext ... 

However, I don't know what clients will do. I have been planning to try 
it, but have not had a chance.

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



More information about the samba-technical mailing list