Has this not been changed to mkstemp just for reason of having to change all of the smbd_mktemp() calls, for portability, or some hidden arcana? Are there any platforms that samba supports that don't have mkstemp? -- Blue Lang http://www.gator.net/~blue Unix Administrator Veritas Software 2315 McMullan Circle, Raleigh, North Carolina, USA 919 835 1540