收起左侧

fnos 1.1.23 smb 报错

5
回复
727
查看
[ 复制链接 ]

2

主题

1

回帖

0

牛值

江湖小虾

2026-3-1 08:58:49 显示全部楼层 阅读模式
悬赏1飞牛币未解决

Error loading module '/usr/lib/x86_64-linux-gnu/samba/vfs/trim_perms.so': cannot open shared object file: No such file or directory
error probing vfs module 'trim_perms': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for trim_perms
make_connection_snum: vfs_init failed for service IPC$

The trim_perms VFS module is missing from the system. It's referenced in the global [global] section:

vfs objects = trim_perms full_audit

Because this VFS module is loaded globally, every single share (including the built-in IPC$) fails to initialize. This is why no shares are accessible at all -- not even authentication-related ones work properly.

This is a fnOS (飞牛) custom VFS module (trim_perms.so) that was likely removed or not installed after a system update. The fix is to either:

收藏
送赞
分享

2

主题

1

回帖

0

牛值

江湖小虾

2026-3-1 08:59:55 楼主 显示全部楼层
系統完全無法接smb. 如何解决?!!

74

主题

5773

回帖

1235

牛值

共建版主

社区上线纪念勋章社区共建团荣誉勋章飞牛百度网盘玩家fnOS1.0上线纪念勋章EVO2产品纪念灌水之星AMD适配纪念勋章

2026-3-1 16:13:05 显示全部楼层

看看这个帖子:https://club.fnnas.com/forum.php?mod=viewthread&tid=55994&extra=page%3D1

1

主题

7

回帖

0

牛值

江湖小虾

2026-3-22 11:03:34 显示全部楼层

upload 附件:trim_perms.zip

没那么麻烦,解压文件复制到 /usr/lib/x86_64-linux-gnu/samba/vfs/trim_perms.so 基本就好了。

还不行的话,nano /etc/samba/smb.conf 编辑一下这个文件,结尾添加上

include = /etc/samba/users/1000.share.conf

这个具体文件可以自己看 /etc/samba/users 目录来确定

目录,然后
sudo systemctl restart smbd nmbd
sudo systemctl restart smbd nmbd

我的这样就好了,问题溯源就是 apt upgrade 更新了 samba 到了 u3,飞牛还是 u2,并且缺失 trim_perms.so

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
文件浏览器提示没有/usr/lib/x86_64-linux-gnu/samba/vfs这个路径喔  详情 回复
2026-3-23 13:28

0

主题

3

回帖

0

牛值

江湖小虾

2026-3-23 13:28:17 显示全部楼层
raytion 发表于 2026-3-22 11:03
附件:trim_perms.zip
没那么麻烦,解压文件复制到 /usr/lib/x86_64-linux-gnu/samba/vfs/trim_perms.so  ...

文件浏览器提示没有/usr/lib/x86_64-linux-gnu/samba/vfs这个路径喔
文件浏览器肯定没有啊,去ssh。  详情 回复
2026-3-27 14:47

1

主题

7

回帖

0

牛值

江湖小虾

2026-3-27 14:47:42 显示全部楼层
启辰 发表于 2026-3-23 13:28
文件浏览器提示没有/usr/lib/x86_64-linux-gnu/samba/vfs这个路径喔

文件浏览器肯定没有啊,去ssh。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则