Joshua-Riek / ubuntu-rockchip

Ubuntu for Rockchip RK35XX Devices
https://joshua-riek.github.io/ubuntu-rockchip-download/
GNU General Public License v3.0
2.52k stars 273 forks source link

Feature Request: Enable KSMBD in kernel configuration #1046

Open shirok1 opened 2 months ago

shirok1 commented 2 months ago

Feature Description

KSMBD is a kernel-space SMB (aka the protocol to "share" folders to Windows) server, upstreamed into Linux kernel. Its user-space tool is already in Ubuntu repo, 2204 and 2404.

I think enabling it in kernel configuration can benefit those wanted to use their SBC as a NAS!

My alternatives:

shirok1 commented 2 months ago

FYI: https://github.com/cifsd-team/ksmbd.git

Joshua-Riek commented 2 months ago

Can you please send a pull request to the kernel?

shirok1 commented 2 months ago

Can you please send a pull request to the kernel?

I think we can just change...

https://github.com/Joshua-Riek/linux-rockchip/blob/2a5e23f029ac47829348b87dd56409698fd7e3bf/debian.rockchip/config/config.common.ubuntu#L8700

to sth. like CONFIG_SMB_SERVER=m. Sorry I can't test it out right now.