Alexandre Aubin
5de9e4fe6a
Yolorework the repo dir structure
2021-11-10 17:56:02 +01:00
Alexandre Aubin
5a7a719661
Also lint/reformat core bash hooks
2021-10-06 16:35:45 +02:00
Alexandre Aubin
8aa911b6e2
Misc renaming/tweaks for more sensible naming
2021-05-23 23:49:36 +02:00
Alexandre Aubin
c089d1bdcd
No need for random service reload/restart, that should be handled by the auto-regenconf of the core after the restore
2021-04-05 21:11:26 +02:00
Alexandre Aubin
956e860ff7
Simplify ldap restore hook
2021-04-05 21:11:26 +02:00
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