5901 SMB clients get errors trying to delete non-empty directories
Review Request #44 - Created May 2, 2015 and submitted
At the protocol level, we see that the client was allowed to set the "delete on close" flag on a directory when that directory was not empty.
In such cases, the server is supposed to return NT_STATUS_DIRECTORY_NOT_EMPTY and not let you set that flag.
Internal reviewers were:
Gordon Ross (I'm not the author this time)
Verified deleteing non-empty directories works correctly.
Has been in the field for quite a while.