免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4181 | 回复: 2
打印 上一主题 下一主题

[samba] Ignoring unknown parameter "realm" [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-22 19:19 |只看该作者 |倒序浏览
fileshare# testparm
Load smb config files from /usr/local/etc/smb.conf
Unknown parameter encountered: "realm"
Ignoring unknown parameter "realm"
Processing section "[fileshare]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions


---
fileshare# vi /usr/local/etc/smb.conf
[global]
log file = /var/log/samba/log.%m
dns proxy = NO
idmap gid = 10000-20000
Server string = Samba Server
idmap uid = 10000-20000
password server = 172.16.1.16
workgroup = fileshare
os level = 20
encrypt passwords = yes
security = ADS
realm = FILES.COM
winbind use default domain = yes
max log size =50
guest account = oaguest
[fileshare]
comment = public
path = /home/oaguest/file
browseable = yes
public = yes
writeable = yes
read only = no


====
测试不通过~
realm = FILES.COM这句有什么错么?
我是想在FREEBSD上做SAMBA的域验证访问的..

论坛徽章:
0
2 [报告]
发表于 2007-06-22 22:22 |只看该作者
Server role: ROLE_STANDALONE
如果需要用域验证,这里必须是域成员
重新检查一下配置文件吧

论坛徽章:
0
3 [报告]
发表于 2007-06-23 10:10 |只看该作者
是域成员的吧,那smb.conf

里面那句

security = ADS
改成这个
security = DOMAIN

在testparm就出现以下了
Server role: ROLE_DOMAIN_MEMBER
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP