blob: 7b22587f84aa68872543fbd95c7ba5b202168ef8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class openldap::slave($rid) inherits openldap {
@@openldap::exported_slave { $rid: }
$sync_password = extlookup("ldap_syncuser-${::hostname}",'x')
# same access rights as master
Openldap::Config['/etc/openldap/mandriva-dit-access.conf'] {
content => template('openldap/mandriva-dit-access.conf'),
}
Openldap::Config['/etc/openldap/slapd.conf'] {
content => template('openldap/slapd.conf','openldap/slapd.syncrepl.conf'),
}
Openldap::Config['/etc/sysconfig/ldap'] {
content => template('openldap/ldap.sysconfig'),
}
}
|