diff options
author | Dan Fandrich <danf@mageia.org> | 2024-10-15 17:25:38 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-10-15 17:26:25 -0700 |
commit | 5cf668b1ff48119a5b7674e8c16cb96e2fe6d327 (patch) | |
tree | 5b07fd51d063d6e776dcaa0013049f4c3dd58208 /modules | |
parent | 0e517856b8db239fc2ae29ff4d5f007b5d1d0441 (diff) | |
download | puppet-5cf668b1ff48119a5b7674e8c16cb96e2fe6d327.tar puppet-5cf668b1ff48119a5b7674e8c16cb96e2fe6d327.tar.gz puppet-5cf668b1ff48119a5b7674e8c16cb96e2fe6d327.tar.bz2 puppet-5cf668b1ff48119a5b7674e8c16cb96e2fe6d327.tar.xz puppet-5cf668b1ff48119a5b7674e8c16cb96e2fe6d327.zip |
Uninstall nss_updatedb
This needs some configuration or it generates an error e-mail every
hour, as it did on duvel. It might be useful to configure one day to
provide access to machines even if the LDAP server goes down.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pam/manifests/base.pp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/pam/manifests/base.pp b/modules/pam/manifests/base.pp index 20a4d336..e29c8555 100644 --- a/modules/pam/manifests/base.pp +++ b/modules/pam/manifests/base.pp @@ -1,8 +1,13 @@ class pam::base { include pam::multiple_ldap_access - package { ['nscd']: } + package { ['nscd', 'nss-pam-ldapd']: } - package { ['nss-pam-ldapd']: } + # This needs configuration or it generates an error every hour. + # If it's ever enabled, make sure restrict permissions on + # /var/db/passwd.db and /var/db/group.db at the same time. + package { 'nss_updatedb': + ensure => 'absent', + } service { 'nscd': require => Package['nscd'], |