|
smb.conf
- [global]
- workgroup = Workgroup
- server string = Samba Server
- netbios name = Server
- security = share
- browseable = yes
- writable = yes
- guest account = nobody
- [temp]
- path = /samba/temp
- browseable = yes
- public = yes
- only guest = yes
- writable = yes
复制代码
如果设置security = share
那通过\\ip访问时会提示找不到网络,如果通过网络邻居,会提示没有服务器配置事件处理
如果设置security = user
就可以跳出用户名密码登录的对话框
共享目录权限已经设置为nobody了
这个配置我以前在debian里可以使用的。 |
|