[PATCH] For bug #9534 (NT_STATUS_INVALID_HANDLE when deleting a directory on a "scannedonly" covered share)
jra at samba.org
Fri Feb 8 12:24:05 MST 2013
On Tue, Feb 05, 2013 at 07:36:31PM +0000, Samuel Cabrero Alamán wrote:
> This patch solves the issue and also improves the cleanup by removing the .failed and .scanned files associated to scanned directories and files. It seems that returning a private struct in opendir and fdopendir functions instead of a DIR pointer was what was causing the issue.
> I also attach another patch to send more information over the socket (the user accessing to the share and the client IP). This way the daemon can log these values together with detected viruses.
> If I could get some review on these changes, i would really appreciate it.
I'll try and get this reviewed asap. If you need this back-porting
to 4.0.x or 3.6.x please raise a bug in bugzilla.samba.org and
attach the proposed patch.
More information about the samba-technical