I find the "root directory" parameter interesting for multiple shares, but documentation is quite light there.
The way I understand it, it should look like this in ksmbd.conf:
[global]
root directory = /run/ksmbd
[myshare]
; relative to the global root dir
path = myshare
But this fails with the following:
ksmbd: failed to access '/run/ksmbdmyshare'
Changing to path = /myshare does work.
I had to enable debugging to get to this error message though.
Thanks in advance!