photoprism/.ldap.cfg
Michael Mayer c7b33c195e LDAP: Change development environment defaults
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-25 10:02:28 +01:00

41 lines
1 KiB
INI

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"]
photoprismNoLogin = ["false"]
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 = "*"