I'm getting ready to add the CIFS UNIX extensions - this is code that has been in HP's CIFS/9000 product and is designed to give (almost) full UNIX -> UNIX semantics to CIFS (fcntl locking is still missing I'm afraid). Please take a look w.r.t. using these extensions in Linux smbfs, as it might make the job of smbfs much easier. Jeremy.