Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nslcd service is not part of standard RHEL 6 or CentOS 6 OS #44

Open
nkadel-skyhook opened this issue May 31, 2017 · 1 comment
Open

Comments

@nkadel-skyhook
Copy link

nkadel-skyhook commented May 31, 2017

The "nslcd" service used by in default.rb by the latest release is not a standard part of CentOS 6 or CentOS 7. It was apparently introduced in this change:

16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 25) nslcd_enable = false
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 26) case node['platform']
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 27) when 'redhat', 'cento
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 28) case node['platform
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 29) when 7
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 30) sssd_action = 'in
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 31) # CentOS 7 requir
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 32) authconfig_action
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 33) node.default['aut
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 34) when 6
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 35) node.default['aut
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 36) case node['authco
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 37) when true
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 38) sssd_action = '
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 39) when false
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 40) sssd_action = '
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 41) nslcd_enable =
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 42) end
16ce3fb (Jo Rhett 2015-07-14 08:52:13 -0700 43) authconfig_action

Can this change be reverted, or some logic added to detect the existence of the nslcd service? Or did he possibly mean "nscd" ?

@nkadel
Copy link

nkadel commented Aug 9, 2017

I found the "nlscd" daemon in question. It's part of the "nss-pam-ldapd" package on CentOS 6. If this daemon is going to be enabled, it should be tested for by verifying the presence of /usr/sbin/nslcd, and the software installed before being enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants