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