Alexandre Aubin
31e868e82d
Enforce permissions for stuff in /etc/yunohost/
2020-04-29 03:49:37 +02:00
Alexandre Aubin
7061c4c3fe
Improve systemd settings for slapd ( #933 )
2020-04-17 14:40:53 +02:00
Alexandre Aubin
e54ca72068
On some weird setup, this folder and content ain't readable by group ... gotta make sure to make rx for group other slapd will explode
2020-03-27 21:40:22 +01: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
Alexandre Aubin
2dc809548b
Fixing again the whole permission / cert situation for slapd ... for good this time hopefully
2019-08-13 17:32:55 +02:00
Alexandre Aubin
6f48d1d855
Get rid of those sudo's ... otherwise, because sudo is in fact sudo-ldap, might create weird errors or stuck situation where everything is broken because slapd is stopped and the regenconf can't restart it
2019-08-12 11:16:07 +02:00
Alexandre Aubin
0a2d1c7eb6
We need this also to have proper permissions on certs
2019-08-12 11:16:04 +02:00
Alexandre Aubin
dde3a19350
Fix some critical permissions issues with ssl / slapd configuration
2019-08-12 01:56:24 +02:00
Alexandre Aubin
10f1651022
Moving to the post-regen part because the pre-regen part should touch as little as possible of the actual system config
2019-08-03 21:00:44 +02:00
yalh76
bae6fe86f3
spelling
2019-08-01 22:28:55 +02:00
yalh76
577d8f477f
Add openldap user in the ssl-cert grou
2019-07-14 14:25:09 +02:00
Alexandre Aubin
59e2db99ba
Merge branch 'stretch-unstable' into group_permission
2019-07-05 20:59:10 +02:00
Alexandre Aubin
d8b086a06a
[fix] Running slapindex seems to fix the previous issues about LDAP indexing stuff
2019-06-06 19:26:49 +02:00
Josué Tille
d975ed2689
Update LDAP config
2019-01-17 22:14:24 +01:00
Alexandre Aubin
da973e69a7
Getting rid of systematic error message during install
2018-05-02 18:04:15 +02:00
Laurent Peuch
9a66a00278
[fix] wait for admin user to be available after a slapd regen-conf, this fix install on slow hardware/vps
2016-09-04 09:12:37 +02:00
Jérôme Lebleu
53573e50dc
[fix] Hide cat error if tmp_backup_dir_file doesn't exist in conf_regen
2016-05-21 21:22:51 +02:00
Jérôme Lebleu
598cb11a98
[fix] Rely on conf file for current backend and create slapd.d
2016-05-21 17:58:20 +02:00
Jérôme Lebleu
78ceefd06a
[fix] Save LDAP base before any conf changes in conf_regen hook
2016-05-21 17:58:20 +02:00
Jérôme Lebleu
abe22d74d6
[fix] Remove legacy slapd file after directory creation at regen-conf
2016-04-27 11:13:50 +02:00
Jérôme Lebleu
31c8aabe86
[fix] Set proper mode when using install in conf_regen hooks
2016-04-22 15:17:56 +02:00
Jérôme Lebleu
13ed77a6ca
[fix] Set default values for force and dry_run in conf_regen hooks
2016-04-22 12:18:25 +02:00
Jérôme Lebleu
4912a2afae
[fix] Init LDAP with package installation to fix ynh post-install
2016-04-21 22:59:36 +02:00
Jérôme Lebleu
cdf3c13bf5
[enh] Add a dry-run option for service_regen_conf
2016-04-19 20:52:45 +02:00
Jérôme Lebleu
0d30ef6277
[fix] Compare current with new LDAP backend and process as needed in conf_regen
2016-04-16 17:52:45 +02:00
Jérôme Lebleu
8269788172
[fix] Typo and variable name fixes in conf_regen hooks
2016-04-16 14:41:54 +02:00
Jérôme Lebleu
0f9e777fc6
[enh] Update slapd conf_regen hook
2016-04-11 22:03:50 +02:00
Jérôme Lebleu
96d4eb3396
[clean] Move conf_regen hooks to prevent issue while updating them
2016-04-11 17:30:57 +02:00
Julien Malik
1300f4c0ca
[fix] fix lintian script-not-executable
2016-03-12 00:20:52 +01:00
Julien Malik
a072d4109e
[enh] slaptest outputs on stderr, so generates a WARNING. make it quiet
2016-03-08 15:22:44 +01:00
Jérôme Lebleu
770de28f75
[enh] Check the slapd config file at first in conf_regen
2016-01-27 19:45:56 +01:00
Jérôme Lebleu
e5095d0185
[fix] Remove old dbconfig settings from slapd.conf
2016-01-27 18:57:21 +01:00
Jérôme Lebleu
a5568311db
[fix] Save LDAP database when switching to MDB (bugfix #169 )
...
As Wheezy is not supported anymore by next YunoHost releases, the slapd.conf
now comes with MDB as backend.
The LDAP database is also saved before switching to MDB backend and imported
after the configuration re-generation to prevent data loss.
2016-01-27 18:05:04 +01:00
kload
62c7079783
[fix] Unexpected warnings comming from stderr
2015-11-15 11:07:27 +01:00
kload
bc85d157b5
[fix] Copy sudo.schema
2015-10-01 19:04:39 -04:00
kload
7b308a0fc2
[fix] slapd configuration needed for postinstall
2015-10-01 18:50:05 -04:00
kload
1baa89dea3
[fix] Properly set permissions on LDAP directory
2015-09-30 17:48:06 -04:00
kload
17376896a4
[fix] hdb/mdb replacement in regen script
2015-09-30 14:16:43 -04:00
kload
1ca528f6ce
[fix] Properly calculate diff
2015-09-29 06:52:12 -04:00
kload
2a812e0aec
[enh] Add nslcd conf regen script
2015-09-29 06:15:01 -04:00
kload
b9f9a3f105
[enh] Add slapd conf regen hook
2015-09-28 19:47:43 -04:00