收起左侧

升级1.1.18后SMB无法工作,官方解决办法无效

3
回复
401
查看
[ 复制链接 ]

1

主题

2

回帖

0

牛值

江湖小虾

2026-2-4 21:00:11 显示全部楼层 阅读模式

设备环境:x86物理机

BUG现象:smb无法访问

出现频率:必现

联系方式:未加群

图片.png

尝试安装

apt install -y samba-vfs-modules
Hit:1 https://pkg.ltec.ch/public focal InRelease
Hit:2 https://mirrors.ustc.edu.cn/debian bookworm InRelease
Hit:3 https://mirrors.ustc.edu.cn/debian bookworm-updates InRelease
Hit:4 https://mirrors.ustc.edu.cn/debian bookworm-backports InRelease
Hit:5 https://mirrors.ustc.edu.cn/debian-security bookworm-security InRelease
Hit:6 https://mirrors.ustc.edu.cn/docker-ce/linux/debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
207 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
samba-vfs-modules is already the newest version (2:4.17.12+dfsg-0+deb12u3).
The following package was automatically installed and is no longer required:
libntfs-3g89
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 207 not upgraded.

依然无解

ll /usr/lib/x86_64-linux-gnu/samba/vfs/trim_perms.so

ls: cannot access '/usr/lib/x86_64-linux-gnu/samba/vfs/trim_perms.so': No such file or directory

AI解释为:

samba-vfs-modules 已经是最新版,但它不包含 trim_perms.so(Debian 12 / Samba 4.17 中已不再提供这个模块)

系统更新里修复再更新也没有任何用,哎心累,不想重装

收藏
送赞
分享

本帖子中包含更多资源

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

x

1

主题

2

回帖

0

牛值

江湖小虾

2026-2-4 21:13:18 楼主 显示全部楼层

a# grep -r "trim_perms" /etc/
grep -r "vfs objects" /etc/
/etc/samba/smb.conf: vfs objects = trim_perms full_audit
/etc/samba/users/1000.share.conf: vfs objects = full_audit shadow_copy2
/etc/samba/users/1000.share.conf: vfs objects = full_audit shadow_copy2
/etc/samba/users/1000.share.conf: vfs objects = full_audit shadow_copy2
/etc/samba/smb.conf: vfs objects = trim_perms full_audit

总是自动给加上trim_perms

261

主题

1万

回帖

0

牛值

管理员

fnOS1.0上线纪念勋章

2026-2-10 17:36:53 显示全部楼层
https://club.fnnas.com/forum.php ... &extra=page%3D1可以根据链接进群填写信息等待技术同学联系处理

0

主题

1

回帖

0

牛值

江湖小虾

2026-2-11 14:08:40 显示全部楼层
类似问题,可以修复系统-更新系统,修复系统-更新系统,多整个两三次就可以了。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则