max log size = 50
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# Use password server option only with security = server
; password server = <NT-Server-Name>
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
dos char set = gb2312 #在/etc/samba加入此两行设置并重启smb服务即可解决smb服务中文字符乱码的问题
unix char set = gb2312
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# Use password server option only with security = server
; password server = <NT-Server-Name>
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
dos char set = gb2312 #在/etc/samba加入此两行设置并重启smb服务即可解决smb服务中文字符乱码的问题
unix char set = gb2312
博客介绍了Samba服务的相关设置,包括最大日志大小、安全模式、密码服务器选项、密码和用户名匹配级别等安全设置,还提及在/etc/samba加入特定设置并重启smb服务可解决中文字符乱码问题。
347

被折叠的 条评论
为什么被折叠?



