Browse Source

Install nscd for caching LDAP queries

nscd is recommended package for libpam-ldapd and libnss-ldapd, but
since we disabled Install-Recommends for apt in
https://gerrit.mcp.mirantis.net/14431 we need to specify this package in
linux formula.
nscd is a daemon which handles passwd, group and host lookups for
running programs and caches the results for the next query.

Change-Id: Ia17441da2b3072d943d0e9225721dc9921de2514
pull/162/head
Alexander Noskov 6 years ago
parent
commit
2a52a52057
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      linux/map.jinja

+ 2
- 2
linux/map.jinja View File

@@ -106,7 +106,7 @@
{% set ldap = salt['grains.filter_by']({
'RedHat': {
'enabled': false,
'pkgs': ['openldap-clients', 'nss-pam-ldapd', 'authconfig'],
'pkgs': ['openldap-clients', 'nss-pam-ldapd', 'authconfig', 'nscd'],
'version': '3',
'scope': 'sub',
'uid': 'nslcd',
@@ -114,7 +114,7 @@
},
'Debian': {
'enabled': false,
'pkgs': ['libnss-ldapd', 'libpam-ldapd'],
'pkgs': ['libnss-ldapd', 'libpam-ldapd', 'nscd'],
'version': '3',
'scope': 'sub',
'uid': 'nslcd',

Loading…
Cancel
Save