Fix ldap
This commit is contained in:
@@ -39,7 +39,34 @@ entries:
|
|||||||
username: "ldap-service"
|
username: "ldap-service"
|
||||||
attrs:
|
attrs:
|
||||||
name: "LDAP Bind Service Account"
|
name: "LDAP Bind Service Account"
|
||||||
|
type: "service_account"
|
||||||
|
path: "goauthentik.io"
|
||||||
is_active: true
|
is_active: true
|
||||||
password: !Env DEFAULT_LDAP_PASSWORD
|
password: !Env DEFAULT_LDAP_PASSWORD
|
||||||
attributes:
|
attributes:
|
||||||
ak_recovery_immutable: true
|
ak_recovery_immutable: true
|
||||||
|
|
||||||
|
- model: authentik_rbac.role
|
||||||
|
state: present
|
||||||
|
identifiers:
|
||||||
|
name: "LDAP Search Role"
|
||||||
|
|
||||||
|
- model: authentik_core.group
|
||||||
|
state: present
|
||||||
|
identifiers:
|
||||||
|
name: "LDAP Search Group"
|
||||||
|
attrs:
|
||||||
|
users:
|
||||||
|
- !Find [authentik_core.user, [username, "ldap-service"]]
|
||||||
|
roles:
|
||||||
|
- !Find [authentik_rbac.role, [name, "LDAP Search Role"]]
|
||||||
|
|
||||||
|
- model: authentik_providers_ldap.ldapprovider
|
||||||
|
state: present
|
||||||
|
identifiers:
|
||||||
|
name: ldap-provider
|
||||||
|
attrs:
|
||||||
|
object_permissions:
|
||||||
|
- role: !Find [authentik_rbac.role, [name, "LDAP Search Role"]]
|
||||||
|
permissions:
|
||||||
|
- "authentik_providers_ldap.search_full_directory"
|
||||||
|
|||||||
Reference in New Issue
Block a user