ubuntu samba 性能优化和匿名访问
来源:互联网 发布:网络评选投票 编辑:程序博客网 时间:2024/06/08 17:00
用低功耗电影装ubuntu server做家用NAS。
先贴smb.conf:
[global]workgroup = WORKGROUPnetbios name = DiskStationserver string = DiskStation max connections = 0deadtime = 10log file = /var/log/samba/log.%mmax log size = 50security = usermap to guest = bad userencrypt passwords = yesguest account = nobodyguest ok = yes admin users = rootload printers = no printing = bsd printcap name = /dev/null disable spoolss = yes follow symlinks = nowide links = no# enable some read/write tuningaio read size = 16384aio write size = 16384aio write behind = truewrite cache size = 2097152max xmit = 65536large readwrite = yes# Use sendfile for reading files efficientlyuse sendfile = yesmin receivefile size = 16384getwd cache = true[disk1] comment = disk1 path = /mnt/disk1 browseable = yes writable = yes valid users = nobody admin public = yes guest ok = yes
如果两端硬盘都不是屏颈的时候,atom d525 CPU达到100%占用,最高速度可以达到700Mbps。
几个要点:
security = usermap to guest = bad userguest account = nobody
网上的security = share是不正确的配置
想控制某个share里面的某些目录是否可以被guest访问,就使用目录的权限来控制
755和744分别是可以guest可以访问和不可以访问,即目录的执行权限控制guest是否可以进入。
0 0
- ubuntu samba 性能优化和匿名访问
- samba匿名访问设置
- ubuntu 10.04 samba 匿名访问 可读可写
- samba匿名用户访问设置
- samba 设置匿名访问目录
- linux samba 用户访问、匿名访问
- ubuntu 访问samba
- Samba常用配置及匿名用户访问
- ubuntu server 10.04 samba 需要用户名和密码访问
- 配置ubuntu下svn和apache不允许匿名访问
- ubuntu用samba访问服务器
- Ubuntu终端访问samba服务器
- Ubuntu终端访问samba服务器
- Samba部署和优化
- ubuntu 访问另一个ubuntu服务器samba
- SELinux导致的samba匿名访问配置问题
- SELinux导致的Samba匿名访问配置问题
- centos samba配置匿名用户guest也可以登录访问
- React Native——第一个示例
- ORM学习笔记一
- 初学者对软件测试的认识
- centos 6.4 源更新
- JAVA
- ubuntu samba 性能优化和匿名访问
- makefile 中$@ $^ $<的意义
- 友元函数与友元类
- ios9 之后 配置百度地图出现的错误
- JAVA
- io流
- 禁止浏览器缓存- make sure web page is not cached
- 实现ListView的 分页加载,通过点击按钮实现
- HDU 4252A Famous City