当前位置: 首页 > 工具软件 > CIFSD > 使用案例 >

等级考试文件服务器,内核级 Samba 文件共享服务器 CIFSD 正式开始测试

冷越泽
2023-12-01

反馈:环境:Arm64环境

测试1:默认配置下报错:

[ 94.277834] ksmbd: kill_server_store:437: kill command received

[ 94.331114] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:

[ 113.961601] ksmbd: kill_server_store:437: kill command received

[ 835.181268] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:

[ 1093.833659] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:

[ 1307.474413] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:

[ 1385.562898] ksmbd: kill_server_store:437: kill command received

[ 1443.247842] ksmbd: kill_server_store:437: kill command received

[ 1473.398408] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:

smb.conf部分内容如下:

interfaces = eth0

bind interfaces only = yes

ipc timeout = 20

deadtime = 15

map to guest = Bad User

smb2 max read = 64K

smb2 max write = 64K

smb2 max trans = 64K

cache read buffers = no

cache trans buffers = no

ps -ef|grep ksmb

23186 root 1168 S /usr/sbin/ksmbd.mountd --n

23188 root 1336 S /usr/sbin/ksmbd.mountd --n

lsmod|grep ksmb

ksmbd 249856 0

netstat -an|grep 445 无结果

测试2:

把/etc/ksmbd/ksmbd.config.example 拷贝成 /etc/ksmbd/smb.conf同样不行:

daemon.notice ksmbd: Starting Ksmbd userspace service.

smb.conf如下:

config globals

option 'description' 'Ksmbd on OpenWrt'

config share

option name 'testshare'

option path '/tmp'

option read_only 'no'

option guest_ok 'yes'

option create_mask '0666'

option dir_mask '0777'

option force_root '1'

ps -ef|grep ksmb

23974 root 1168 S /usr/sbin/ksmbd.mountd --n

lsmod|grep ksmb

ksmbd 249856 0

netstat -an|grep 445 无结果

 类似资料: