你好,游客 登录 注册 搜索
背景:
阅读新闻

在Fedora 11中配置带有tdbsam Backend的Samba独立服务器

[日期:2009-11-06] 来源:www.txtbar.cn  作者:txtbar [字体:大 中 小]

源地址:http://www.howtoforge.com/Fedora-11-samba-standalone-server-with-tdbsam-backend
原作者: Falko Timme <ft [at] falkotimme [dot] com>
翻译者:Topkeyhttp://www.txtbar.cn
最后编辑日期 09/21/2009

这篇教程将会为你展示包括在Fedora 11中Samba文件服务器的安装、配置基于SMB协议的共享文件服务器、添加用户等多种功能。在这里,Samba将会配置成一台独立的服务器,而非域控制器。在设置的过程中,每一个用户都将拥有它们自己的可访问的基于SMB协议的文件夹,所有的用户都拥有读写权限。

我已经确定无误,这将保证为你工作!

1前言
在这里,我使用的是一台主机名为server1.example.com,ip地址为192.168.0.100的Fedora 11的系统。

请确保你的SELinux系统是关闭的,请参考这篇教程的第五章The Perfect Server – Fedora 11 x86_64 [ISPConfig 2] – Page 3

2 安装Samba
链接到你服务器的shell,安装Samba包:

yum install cups-libs samba samba-common

编辑 smb.conf 文件:

vi /etc/samba/smb.conf

确保你在[global] 部分中可以看到下列行:

[...]
# ———————– Standalone Server Options ————————
#
# Scurity can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.

security = user
passdb backend = tdbsam

[...]

这可以使linux系统用户能够登录Samba服务器

然后为Samba创建系统启动链接,并启动它:

chkconfig –levels 235 smb on
/etc/init.d/smb start

linux
相关资讯       Fedora 11 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款