Thanks for the info, @KONG. I'll read about the configuration of ksmbd.
Update: I found this this thread and this issue report very useful.