From c7b33c195e61791cb3236135040f6751b3a91127 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Fri, 25 Nov 2022 10:02:28 +0100 Subject: [PATCH] LDAP: Change development environment defaults Signed-off-by: Michael Mayer --- .ldap.cfg | 2 +- docker-compose.yml | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.ldap.cfg b/.ldap.cfg index 5d66f1f3b..ca2da0fbb 100644 --- a/.ldap.cfg +++ b/.ldap.cfg @@ -24,7 +24,7 @@ debug = true passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism [[users.customattributes]] photoprismRole = ["user"] - photoprismLogin = ["true"] + photoprismNoLogin = ["false"] photoprismWebdav = ["true"] [[users.capabilities]] action = "search" diff --git a/docker-compose.yml b/docker-compose.yml index 09156a0f5..005c9d6ba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,12 +52,6 @@ services: PHOTOPRISM_LDAP_BIND_DN: "cn" PHOTOPRISM_LDAP_BASE_DN: "dc=localssl,dc=dev" PHOTOPRISM_LDAP_SYNC: "true" - PHOTOPRISM_LDAP_ROLE: "user" - PHOTOPRISM_LDAP_ROLE_DN: "photoprismRole" - PHOTOPRISM_LDAP_LOGIN: "true" - PHOTOPRISM_LDAP_LOGIN_DN: "photoprismLogin" - PHOTOPRISM_LDAP_WEBDAV: "false" - PHOTOPRISM_LDAP_WEBDAV_DN: "photoprismWebdav" ## OpenID Connect (pre-configured for local tests): PHOTOPRISM_OIDC_URI: "https://keycloak.localssl.dev/auth/realms/master" PHOTOPRISM_OIDC_INSECURE: "true" @@ -194,6 +188,7 @@ services: KC_DB_PASSWORD: "keycloak" ## Dummy LDAP Directory Server + ## Docs: https://glauth.github.io/docs/ dummy-ldap: image: glauth/glauth-plugins:latest container_name: dummy-ldap