解决samba没有smbpasswd文件 您所在的位置:网站首页 hadoopjps找不到命令 解决samba没有smbpasswd文件

解决samba没有smbpasswd文件

2023-10-24 14:44| 来源: 网络整理| 查看: 265

解决samba没有smbpasswd文件 原创

liheng_2006 2012-07-26 17:56:07 博主文章分类:linux ©著作权

文章标签 安装 samba 文章分类 运维

©著作权归作者所有:来自51CTO博客作者liheng_2006的原创作品,请联系作者获取转载授权,否则将追究法律责任

  现象:安装好CentOS5 , 配置好smb.conf,结果在/etc/samba/下找不到smbpasswd文件。     原因:samba启用了tdbsam验证。     解决:SMB.conf文件中注释掉 passdb backend = tdbsam 一行,       加上 smb passwd file = /etec/samba/smbpasswd            这样再建立用户就产生了smbpasswd文件了。 听闻有多朋友在配置好SMB后,都在/etc/samba 目录下看到 smbpasswd 文件,特贴此帖以作参考,希望对大家有帮助 关于TDBSAM

Samba can store user and machine account data in a “TDB” (trivial database). Using this backend does not require any additional configuration. This backend is recommended for new installations that do not require LDAP.  As a general guide, the Samba Team does not recommend using the tdbsam backend for sites that have 250 or more users. Additionally, tdbsam is not capable of scaling for use in sites that require PDB/BDC implementations that require replication of the account database. Clearly, for reason of scalability, the use of ldapsam should be encouraged.  The recommendation of a 250-user limit is purely based on the notion that this would generally involve a site that has routed networks, possibly spread across more than one physical location. The Samba Team has not at this time established the performance-based scalability limits of the tdbsam architecture.  There are sites that have thousands of users and yet require only one server. One site recently reported having 4,500 user accounts on one UNIX system and reported excellent performance with the tdbsam passdb backend. The limitation of where the tdbsam passdb backend can be used is not one pertaining to a limitation in the TDB storage system, it is based only on the need for a reliable distribution mechanism for the SambaSAMAccount backend. 收藏 评论 分享 举报

上一篇:分割apache 的access_log、error_log

下一篇: 在 RedHat EL 4.0 中实现高可用WEB负载均衡群集



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有