Reusing wsdd2 on Debian for ksmbd

When switching to ksmbd from Samba, the wsdd2 daemon will refuse to start. This is due to the service file is written to bind to the smbd service that is not installed anymore after removing Samba.

To fix the issue simply copy the file from /usr/lib/systemd/system/wsdd2.service to /etc/systemd/system/wsdd2.service and remove the line from the file that reads BindsTo=smbd.service.

File Corruption

ksmbd at version 3.4.7 seems to corrupt transferred files, such as JPG files, in case the streams_xattr VFS object is enabled. To prevent files being corrupted during transfer, remove the streams_xattr VFS object using the vfs objects configuration line.