1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/nixos/modules/services/databases
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
..
aerospike.nix aerospike: Disables build on aarch64 2018-12-10 14:55:19 -05:00
cassandra.nix Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
clickhouse.nix nixos/clickhouse: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:58 -04:00
cockroachdb.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
couchdb.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
firebird.nix nixos/firebird: replace deprecated usage of PermissionsStartOnly 2019-05-26 07:20:57 -04:00
foundationdb.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
foundationdb.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
hbase.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
influxdb.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
memcached.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
monetdb.nix nixos/monetdb: init (#39812) 2018-05-01 16:44:12 +02:00
mongodb.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
mysql.nix nixos/mysql: restart systemd service on abort 2020-01-06 20:08:51 -05:00
neo4j.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
openldap.nix nixos/openldap: check configuration with slaptest 2020-01-12 14:25:49 +00:00
opentsdb.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
pgmanage.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
postgresql.nix postgresql: Quote role names when creating database users 2019-12-13 14:10:18 -06:00
postgresql.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
redis.nix nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
rethinkdb.nix treewide: Switch to system users 2019-10-12 22:25:28 +02:00
riak-cs.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
riak.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
stanchion.nix nixos/stanchion: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:57 -04:00
virtuoso.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00