Bug 1402 - smb_mkstemp() breaks the Samba VFS API
smb_mkstemp() breaks the Samba VFS API
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.4
All Windows 2000
: P3 minor
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-05-27 17:06 UTC by Yves Lejeune
Modified: 2006-04-08 22:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yves Lejeune 2004-05-27 17:06:58 UTC
The function "smb_mkstemp()" in "lib/util.c", which opens a temporary file, 
does not use the Samba VFS API: it direcly calls "mkstemp" or "mktemp" 
and "open".
As a consequence, a VFS module which implements "opaque" Samba VFS calls, to 
provide a virtual file system, would not be able to manage "SMBctemp" messages.

As far as I am concerned, I have no real need to support "SMBctemp" in my 
virtual file system, I just report the bug in case it would break other VFS 
modules.
Comment 1 Gerald (Jerry) Carter 2005-11-14 09:28:13 UTC
database cleanup
Comment 2 Gerald (Jerry) Carter 2006-04-08 22:30:41 UTC
Please retest against a current release and reopen if the issue still exists.