[Samba] 3.0.28a VFS Problem

Sen sendel2000 at hotbox.ru
Wed Jul 23 16:26:39 GMT 2008


Im create VFS module (convert from Samba 2.2.x to Samba 3.0.28a) in 
2.2.x all work.
Client: Windows XP
Server: Ubuntu 8.04
VFS: Level mode as Transparent...

Im have a problem:
When new file copies from local folder to samba folder Im get message:
"File FFFF.EXE exist, Replace file size 0 with new file size 1000... 
[Yes][No]"

In samba log file:

Stat FFFF.EXE - ENOENT

Open fd 0 with flags O_CREATE | O_EXCL | O_WRONLY  -- file create with this
Close fd 0

Stat FFFF.EXE - OK (one or more times)

When Im press [Yes]:
Open fd 0 with flags O_CREATE | O_WRONLY
Close fd 0

File replaced ok...

BUT!!
if Im press [No], file was created with size 0... becouse Open for 
create call before this message...
Some times all work right (without this message).

Is it bug? or must use OPEN() ?


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba-technical mailing list