Commit graph

8 commits

Author SHA1 Message Date
Josué Tille
f22f64103a Backup/restore also slapd.ldif
We need this because the regen-conf need to get the state of the slapd config database if it is customized or not and if some update are need.
2020-07-27 19:26:18 +02:00
Josué Tille
8af56c82ef slapd.conf is no more used, but ldap.conf need to be saved/restored 2020-07-27 19:26:18 +02:00
Alexandre Aubin
97e5d3b992 Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state 2019-11-28 00:10:40 +01:00
Julien Malik
1300f4c0ca [fix] fix lintian script-not-executable 2016-03-12 00:20:52 +01:00
zamentur
ea5ffb8498 Merge remote-tracking branch 'upstream/unstable' into unstable
Conflicts:
	data/hooks/restore/05-conf_ldap
2016-02-08 22:52:28 +01:00
zamentur
b2a2a05598 [fix] Slapd.d directory was empty after restore 2016-02-08 22:41:55 +01:00
Jérôme Lebleu
141d704a04 [fix] Review LDAP backup and restore hooks
The configuration is now saved using slapcat instead of trying to generate
it from slapd.conf - which generally fail at restoration.
Also, a backup of configuration and database is made before the restoration,
which allows to return to a "working" state if it fails.
2016-01-23 19:15:13 +01:00
zamentur
a0199d060b [enh] Introduce data and conf hooks category 2015-10-02 18:57:10 +02:00
Renamed from data/hooks/restore/05-system_ldap (Browse further)