Skip to content

Commit 1b54474

Browse files
committed
Allow passwords to be modified.
1 parent 62ff46c commit 1b54474

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

manifests/config.pp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@
2121
target => 'system-auth-ac',
2222
require => File['/etc/pam.d/system-auth-ac'],
2323
}
24+
file { '/etc/pam.d/password-auth-ac':
25+
ensure => present,
26+
mode => '0444',
27+
content => template('pamldap/password-auth.erb'),
28+
require => Class['pamldap::install'],
29+
notify => Class['pamldap::service'],
30+
}
31+
file { '/etc/pam.d/password-auth':
32+
ensure => present,
33+
target => 'password-auth-ac',
34+
require => File['/etc/pam.d/password-auth-ac'],
35+
}
2436
file { '/etc/nsswitch.conf':
2537
ensure => present,
2638
mode => '0444',

0 commit comments

Comments
 (0)