nixpkgs/nixos/modules
Jörg Thalheim 382b0aa52d
nixos/openldap: check configuration with slaptest
slapd does only print the error and not the line number.
Sometimes it is not even clear that it fails to start
due to an incorrect configuration file.

Example output of slaptest:

5e1b2179 /nix/store/gbn2v319d4qgw851sg41mcmjm5dpn39i-slapd.conf: line 134 objectClass: Missing closing parenthesis before end of input
ObjectClassDescription = "(" whsp
  numericoid whsp                 ; ObjectClass identifier
  [ "NAME" qdescrs ]
  [ "DESC" qdstring ]
  [ "OBSOLETE" whsp ]
  [ "SUP" oids ]                ; Superior ObjectClasses
  [ ( "ABSTRACT" / "STRUCTURAL" / "AUXILIARY" ) whsp ]
                                  ; default structural
  [ "MUST" oids ]               ; AttributeTypes
  [ "MAY" oids ]                ; AttributeTypes
  whsp ")"
slaptest: bad configuration file!
2020-01-12 14:25:49 +00:00
..
config treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
hardware Merge pull request #76546 from matthewbauer/nvidia-fix-udev-rules 2020-01-02 15:04:33 -05:00
i18n/input-method nixos/ibus: fix missing dconf profile 2020-01-06 20:30:37 +09:00
installer Improve documentation for stateVersion 2020-01-07 22:27:03 +01:00
misc Merge pull request #77279 from maralorn/stateVersion-docs 2020-01-10 14:42:27 +01:00
profiles nixos/plasma5: drop enableQt4Support option 2019-11-22 09:01:05 +01:00
programs Merge pull request #76437 from gnidorah/sway 2020-01-11 12:16:34 +01:00
security nixos/pam: cleanup services (#76885) 2020-01-09 10:09:13 +00:00
services nixos/openldap: check configuration with slaptest 2020-01-12 14:25:49 +00:00
system nixos/systemd: Explicitly put default path packages after othe… (#77088) 2020-01-06 21:51:04 +01:00
tasks nixos/powertop: wait for hardware to initialize 2020-01-09 19:45:41 +08:00
testing
virtualisation treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
module-list.nix Merge branch 'master' into ihatemoney 2020-01-09 03:49:03 +01:00
rename.nix rdf4store: throw removal messages 2019-12-21 18:46:15 +01:00