printing from Win95
Andrew Tridgell
tridge at samba.anu.edu.au
Fri Sep 25 03:49:37 GMT 1998
I think I might have foun the problem. In reply_getatr() we have this
comment:
unix_convert(fname,conn,0,&bad_path,&sbuf);
/* dos smetimes asks for a stat of "" - it returns a "hidden directory"
under WfWg - weird! */
if (! (*fname))
{
mode = aHIDDEN | aDIR;
if (!CAN_WRITE(conn)) mode |= aRONLY;
size = 0;
mtime = 0;
ok = True;
}
else {
.....
}
the new unix_convert() code will break that as it will never return a
null filename.
Jeremy, how do you want to fix this? Change unix_convert() to allow
null filenames?
More information about the samba-technical
mailing list