加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

redhat – sssd vs nslcd for RHEL-5/6

发布时间:2020-12-13 17:17:50 所属栏目:Linux 来源:网络整理
导读:我们有50台RH-5机器和70台RH-6机器.我希望决定我们应该为LDAP使用什么: 所有RH-5 / RH-6服务器的nscd / nslcd RH-5服务器的nscd / nslcd,RH-6服务器的sssd 所有RH-5 / RH-6服务器的sssd 两个版本都有SSSD(RHEL5 – sssd 1.5 RHEL6 – sssd 1.9) 最后一个选
我们有50台RH-5机器和70台RH-6机器.我希望决定我们应该为LDAP使用什么:

>所有RH-5 / RH-6服务器的nscd / nslcd
> RH-5服务器的nscd / nslcd,RH-6服务器的sssd
>所有RH-5 / RH-6服务器的sssd

两个版本都有SSSD(RHEL5 – sssd 1.5& RHEL6 – sssd 1.9)

最后一个选项意味着RHEL5机器将运行sssd 1.5.

我希望尽可能使用相同软件和配置的环境,除非有人说sssd对于RH-6真的更好,而nscd / nslcd对于RH-5来说真的更好.

什么是最好的选择?

解决方法

sssd可能是更具“前瞻性”的选择.在这种程度上,其他答案是正确的.也就是说,与流行的观点相反,sssd并没有完全取代nslcd的功能.

nslcd优于sssd的主要(情境)优势是您可以编写带参数替换的自定义authz查询:

pam_authz_search FILTER
          This option allows flexible fine tuning of the authorisation check that should be performed. The search filter specified is executed and if  any  entries
          match,access is granted,otherwise access is denied.

          The  search  filter can contain the following variable references: $username,$service,$ruser,$rhost,$tty,$hostname,$dn,and $uid.  These references
          are substituted in the search filter using the same syntax as described in the section on attribute mapping expressions below.

          For example,to check that the user has a proper  authorizedService  value  if  the  attribute  is  present:  (&(objectClass=posixAccount)(uid=$username)
          (|(authorizedService=$service)(!(authorizedService=*))))

          The default behaviour is not to do this extra search and always grant access.

我最后一次检查sssd文档(在过去六个月内),仍然没有替换此功能.所以这真的取决于这个功能是否足够重要,以撇开sssd整合解决方案的好处.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读