Bug 1402 - smb_mkstemp() breaks the Samba VFS API
Summary: smb_mkstemp() breaks the Samba VFS API
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.4
Hardware: All Windows 2000
: P3 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-05-27 17:06 UTC by Yves Lejeune
Modified: 2006-04-08 22:30 UTC (History)
0 users

See Also:


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 
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:28:13 UTC
database cleanup
Comment 2 Gerald (Jerry) Carter (dead mail address) 2006-04-08 22:30:41 UTC
Please retest against a current release and reopen if the issue still exists.