At 6:29 AM +0930 7/6/02, Richard Sharpe wrote: >Hmmm, I think that the major part of the problem there was that, >for what ever reason, Barry Feigenbaum of IBM, declined to add >a Change Working Directory or Set Working Diretory command to >the SMB protocol. > >Thus, at least for the SMB protocol, and maybe generally, Windows >clients must always send the full pathname for every file they >want, unless it happens to be at the root of the share.
Could the unix process for samba fake that? Keep track of the most recently used directory, and when a new request comes in split it into "directory" plus "filename", and if the directory is the same as the previous one, then just access the filename. If the directory is different, try to do a chdir() to the new directory, and if that succeeds then save that as the "previous" directory. Or is that more trouble than it's worth? -- Garance Alistair Drosehn = [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Institute or [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message