summarylogtreecommitdiffstats
path: root/config-template.patch
blob: 447ef6645d7c46e1faae66ebd4bc3aaba76726da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- a/lldap_config.docker_template.toml
+++ b/lldap_config.docker_template.toml
@@ -96,7 +96,7 @@
 ##  - "mysql://mysql-user:password@mysql-server/my-database"
 ##
 ## This can be overridden with the LLDAP_DATABASE_URL env variable.
-database_url = "sqlite:///data/users.db?mode=rwc"
+database_url = "sqlite:///var/lib/lldap/data/users.db?mode=rwc"
 
 ## Private key file.
 ## Not recommended, use key_seed instead.
@@ -106,13 +106,13 @@
 ## each password.
 ## Randomly generated on first run if it doesn't exist.
 ## Env variable: LLDAP_KEY_FILE
-#key_file = "/data/private_key"
+key_file = /var/lib/lldap/data/private_key
 
 ## Seed to generate the server private key, see key_file above.
 ## This can be any random string, the recommendation is that it's at least 12
 ## characters long.
 ## Env variable: LLDAP_KEY_SEED
-key_seed = "RanD0m STR1ng"
+#key_seed = "RanD0m STR1ng"
 
 ## Ignored attributes.
 ## Some services will request attributes that are not present in LLDAP. When it