diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-11-21 23:09:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-21 23:09:40 +0100 |
commit | 258903e725db91db53f0ed8badfad8b988ba0e05 (patch) | |
tree | fde9e5b220cec2e329d4c99b7e34f81231e2c87d /nixos/doc | |
parent | d0ed5c75a30d7dd98d745731867b1f25e3e86a3c (diff) | |
parent | c96f18feee69f1bd621ba4ddeb180e95d4278f27 (diff) |
Merge pull request #94610 from kwohlfahrt/openldap
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2103.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2103.xml b/nixos/doc/manual/release-notes/rl-2103.xml index 10d5cda77464..55c1229a164d 100644 --- a/nixos/doc/manual/release-notes/rl-2103.xml +++ b/nixos/doc/manual/release-notes/rl-2103.xml @@ -185,6 +185,32 @@ which is the new stable release. OpenAFS 1.6 was removed. </para> </listitem> + <listitem> + <para> + The <literal>openldap</literal> module now has support for OLC-style + configuration, users of the <literal>configDir</literal> option may wish + to migrate. If you continue to use <literal>configDir</literal>, ensure that + <literal>olcPidFile</literal> is set to <literal>/run/slapd/slapd.pid</literal>. + </para> + <para> + As a result, <literal>extraConfig</literal> and <literal>extraDatabaseConfig</literal> + are removed. To help with migration, you can convert your <literal>slapd.conf</literal> + file to OLC configuration with the following script (find the location of this + configuration file by running <literal>systemctl status openldap</literal>, it is the + <literal>-f</literal> option. + </para> + <programlisting> + TMPDIR=$(mktemp -d) + slaptest -f /path/to/slapd.conf $TMPDIR + slapcat -F $TMPDIR -n0 -H 'ldap:///???(!(objectClass=olcSchemaConfig))' + </programlisting> + <para> + This will dump your current configuration in LDIF format, which should be + straightforward to convert into Nix settings. This does not show your schema + configuration, as this is unnecessarily verbose for users of the default schemas + and <literal>slaptest</literal> is buggy with schemas directly in the config file. + </para> + </listitem> </itemizedlist> </section> |