Alexandre Aubin
|
d4b69527e7
|
Merge pull request #1235 from YunoHost-Apps/typos
Yunohost -> YunoHost
|
2021-05-26 16:48:56 +02:00 |
|
Alexandre Aubin
|
806b7acfb3
|
nscd -i won't work in chroot ... also 'groups' was a typo, actual name is 'group'
|
2021-05-24 22:10:56 +02:00 |
|
ericgaspar
|
fc02caea2e
|
Yunohost -> YunoHost
|
2021-05-24 18:02:13 +02:00 |
|
Alexandre Aubin
|
74054f721a
|
Manually create /home/admin with cp and chown instead of relying on mkhomedir_helper, to cover running the procedure in a chroot
|
2021-05-24 16:05:45 +02:00 |
|
Alexandre Aubin
|
9574fd4777
|
Gotta restart slapd first to prevent admin user not being known when initializing home
|
2021-05-24 00:20:53 +02:00 |
|
Alexandre Aubin
|
c516cc8eb1
|
Create admin folder directly in slapd init
|
2021-05-24 00:03:10 +02:00 |
|
Alexandre Aubin
|
8aa911b6e2
|
Misc renaming/tweaks for more sensible naming
|
2021-05-23 23:49:36 +02:00 |
|
Alexandre Aubin
|
9dccfa721e
|
Fix ldap init using slapadd
|
2021-05-23 23:07:28 +02:00 |
|
ljf
|
8efa4dce6e
|
[tmp] debug on ci
|
2021-05-23 22:54:00 +02:00 |
|
ljf
|
d241db4c33
|
[fix] Be able to init slapd in a chroot
|
2021-05-21 00:46:31 +02:00 |
|
Alexandre Aubin
|
ee83c3f9ba
|
Recreate the admins group which for some reason didnt exist on old setups ..
|
2021-04-28 17:47:22 +02:00 |
|
Alexandre Aubin
|
02a30125b5
|
service foobar action -> systemctl action foobar
|
2021-04-15 14:31:33 +02:00 |
|
Alexandre Aubin
|
ed35915e7f
|
Move ldap initialization before the postinstall
|
2021-01-23 00:03:25 +01:00 |
|
Alexandre Aubin
|
e28c618e67
|
Those single quotes were probably meant to be double quotes?
|
2020-07-27 19:26:18 +02:00 |
|
Alexandre Aubin
|
2bbff1d264
|
Factorize the actual slapd regeneration
|
2020-07-27 19:26:18 +02:00 |
|
Alexandre Aubin
|
a179e9107a
|
Misc comment improvements?
|
2020-07-27 19:26:18 +02:00 |
|
Josue-T
|
c0d3a361e3
|
Update data/hooks/conf_regen/06-slapd
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
|
2020-07-27 19:26:18 +02:00 |
|
Josué Tille
|
e6a52f09bd
|
[fix] Clean old files
|
2020-07-27 19:26:18 +02:00 |
|
Josué Tille
|
9bb8c0437d
|
Rewrite slapd regen-conf for new config file
|
2020-07-27 19:26:18 +02:00 |
|
Alexandre Aubin
|
2d42480f7e
|
Make sure to propagate change in slapd systemd conf during initial install
|
2020-06-04 19:24:50 +02:00 |
|
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 |
|