app教程网 学习教程 linuxsamba配置教程学习(linux启动samba配置步骤)

linuxsamba配置教程学习(linux启动samba配置步骤)

#==================全局设置=====================================================

该设置适用于所有资源[全局]

# work group=NT- domain name or workgroup name-the name of the workgroup (not required,

默认就是这样)workgroup=soft

# server string is equivalent to nt description field server string=Samba Server-a brief description of the server information block server.

hosts allow=192.168 . 1.192.168 . 2.127。-设置可以访问SMB服务器的主机(可以是IP或主机名。

域名)

# Safe mode. Most people want user-level security. See # security_level.txt for details. -Specifies the security level of the use of the server information block server.

当安全级别为user时,我们在这台机器上建立的用户必须加入SMB服务器,命令是为smbpasswd -a用户将LINUX用户添加到SMB服务器。

Smbpasswd用户名修改SMB服务器中用户的密码。

本文来自网络,不代表本站立场,转载请注明出处:https: