Windows clients do not set the DELETE_ON_CLOSE bit when opening a file with CreateAndX. They instead do a SET_FILE_INFO call and set the delete on close bit there. Some CIFS servers do not handle delete-on-close bit being set in the create call. It needs to be set in a follow-on SET_FILE_INFO call. Samba apparently ignores the bit unless you are actually creating the file. Netapp's server also seems to have problems with the current scheme.
*** This bug has been marked as a duplicate of 239678 ***