Workaround samba libinotify bug by disabling the code.

Ticket: #4728