2022-11-24 19:52:36 +01:00
|
|
|
debug = true
|
|
|
|
[behaviors]
|
|
|
|
# Ignore all capabilities restrictions, for instance allowing every user to perform a search
|
|
|
|
IgnoreCapabilities = true
|
|
|
|
[ldap]
|
|
|
|
enabled = true
|
|
|
|
listen = "0.0.0.0:389"
|
|
|
|
[ldaps]
|
|
|
|
enabled = false
|
|
|
|
listen = "0.0.0.0:636"
|
|
|
|
[api]
|
|
|
|
enabled = true
|
|
|
|
internals = true
|
|
|
|
tls = false
|
|
|
|
listen = "0.0.0.0:5555"
|
|
|
|
[backend]
|
|
|
|
datastore = "config"
|
|
|
|
baseDN = "dc=localssl,dc=dev"
|
|
|
|
[[users]]
|
|
|
|
name = "user"
|
|
|
|
givenname="John"
|
|
|
|
sn="Doe"
|
|
|
|
mail = "jdoe@example.com"
|
|
|
|
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
|
|
|
|
[[users.customattributes]]
|
|
|
|
photoprismRole = ["user"]
|
2022-11-25 10:02:28 +01:00
|
|
|
photoprismNoLogin = ["false"]
|
2022-11-24 19:52:36 +01:00
|
|
|
photoprismWebdav = ["true"]
|
|
|
|
[[users.capabilities]]
|
|
|
|
action = "search"
|
|
|
|
object = "*"
|
|
|
|
[[users]]
|
|
|
|
name = "guest"
|
|
|
|
givenname="Guest"
|
|
|
|
mail = "guest@example.com"
|
|
|
|
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
|
|
|
|
[[users.customattributes]]
|
|
|
|
photoprismRole = ["guest"]
|
|
|
|
[[users.capabilities]]
|
|
|
|
action = "search"
|
|
|
|
object = "*"
|