Skip to main content

KSMBD

apk add ksmbd-tools

modprobe ksmbd
mkdir /etc/ksmbd
# /etc/ksmbd/users.db
ksmbd.adduser -a admin

# https://github.com/cifsd-team/ksmbd-tools/blob/master/smb.conf.example
touch /etc/ksmbd/smb.conf
ksmbd.addshare -a myshare -o "guest ok = yes, writable = yes, path = /mnt/data"

ksmbd.mountd

ksmbd.control -s # stop
rmmod ksmbd # unload module

ksmbd.control -d "all" # debug all
ksmbd.control -d "smb" # debug smb