[quote][size=2][url=forum.php?mod=redirect&goto=findpost&pid=116813&ptid=24841][color=#999999]一西啊 发表于 2025-5-9 23:29[/color][/url][/size]
进ssh修改smb配置里面把名字后面的(smb)删掉,会变成只有一个smb[/quote]
试过了,没有用,还是两个,名字改不掉,飞牛和电脑端也都重启了依旧如此


`[global]
workgroup = WORKGROUP
server string = GongTeng
netbios name = GongTeng
security = user
wsdd2
client min protocol = SMB2
server min protocol = SMB2
#5月10日注释(将上面NT1替换为SMB2)
vfs objects = trim_perms full_audit
full_audit:prefix = %u
full_audit:syslog = true
full_audit:success = create_file mkdirat renameat mknodat unlinkat pwrite_recv pwrite_send pread_recv pread_send
server multi channel support = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
use sendfile = yes
read raw = yes
write raw = yes
min receivefile size = 16384
aio read size = 1
aio write size = 1
max xmit = 65536
large readwrite = yes
fruit:model = TimeCapsule
fruit:metadata=stream
fruit:posix_rename=yes
log level = 0 auth:1 acls:1 passdb:1 smb:1
log file = /var/log/samba/log.%m
max log size = 1000
lock directory = /var/run/samba
logging = syslog
panic action = /usr/share/samba/panic-action %d
server role = standalone server
obey pam restrictions = yes
passdb backend = tdbsam
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = Enter\snew\s\spassword:* %n\n Retype\snew\s\spassword:* %n\n password\supdated\ssuccessfully .
pam password change = yes
usershare allow guests = no
follow symlinks = yes
wide links = yes
unix extensions = no
include = /etc/samba/smb.custom.conf
include = /etc/samba/users/%Y.share.conf
include = /etc/samba/users/%Y.timas.conf`