Configure graph/users/groups to use IDM's internal LDAP
OpenCloud's IDM service provides an internal LDAP server on localhost:9125. Updated configuration to connect to IDM's LDAP instead of external OpenLDAP: - Base DN: o=libregraph-idm (IDM's base DN) - Graph binds as uid=libregraph,ou=sysusers,o=libregraph-idm - Users/Groups bind as uid=reva,ou=sysusers,o=libregraph-idm - Uses IDM service user passwords from secrets Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
c1c85a684e
commit
6b49ba342a
1 changed files with 39 additions and 1 deletions
|
|
@ -8,7 +8,19 @@ data:
|
||||||
opencloud.yaml: |
|
opencloud.yaml: |
|
||||||
# OpenCloud Minimal Configuration
|
# OpenCloud Minimal Configuration
|
||||||
# Only non-default settings - environment variables override these
|
# Only non-default settings - environment variables override these
|
||||||
# Using built-in IDM for user/group storage instead of external OpenLDAP
|
# Using built-in IDM for user/group storage (IDM provides internal LDAP on localhost:9125)
|
||||||
|
|
||||||
|
# Graph service - connect to IDM's internal LDAP server
|
||||||
|
graph:
|
||||||
|
identity:
|
||||||
|
ldap:
|
||||||
|
uri: ldap://localhost:9125
|
||||||
|
base_dn: o=libregraph-idm
|
||||||
|
insecure: true
|
||||||
|
bind_dn: uid=libregraph,ou=sysusers,o=libregraph-idm
|
||||||
|
bind_password: ${OC_IDM_IDM_PASSWORD}
|
||||||
|
user_base_dn: ou=users,o=libregraph-idm
|
||||||
|
group_base_dn: ou=groups,o=libregraph-idm
|
||||||
|
|
||||||
# Proxy service - OIDC configuration (already in env vars, kept for reference)
|
# Proxy service - OIDC configuration (already in env vars, kept for reference)
|
||||||
proxy:
|
proxy:
|
||||||
|
|
@ -19,6 +31,32 @@ data:
|
||||||
user_oidc_claim: preferred_username
|
user_oidc_claim: preferred_username
|
||||||
enable_basic_auth: false
|
enable_basic_auth: false
|
||||||
|
|
||||||
|
# Users service - connect to IDM's internal LDAP
|
||||||
|
users:
|
||||||
|
drivers:
|
||||||
|
ldap:
|
||||||
|
uri: ldap://localhost:9125
|
||||||
|
base_dn: o=libregraph-idm
|
||||||
|
insecure: true
|
||||||
|
bind_dn: uid=reva,ou=sysusers,o=libregraph-idm
|
||||||
|
bind_password: ${OC_IDM_REVA_PASSWORD}
|
||||||
|
user_base_dn: ou=users,o=libregraph-idm
|
||||||
|
user_filter: (objectClass=inetOrgPerson)
|
||||||
|
user_object_class: inetOrgPerson
|
||||||
|
|
||||||
|
# Groups service - connect to IDM's internal LDAP
|
||||||
|
groups:
|
||||||
|
drivers:
|
||||||
|
ldap:
|
||||||
|
uri: ldap://localhost:9125
|
||||||
|
base_dn: o=libregraph-idm
|
||||||
|
insecure: true
|
||||||
|
bind_dn: uid=reva,ou=sysusers,o=libregraph-idm
|
||||||
|
bind_password: ${OC_IDM_REVA_PASSWORD}
|
||||||
|
group_base_dn: ou=groups,o=libregraph-idm
|
||||||
|
group_filter: (objectClass=groupOfNames)
|
||||||
|
group_object_class: groupOfNames
|
||||||
|
|
||||||
# IDM service user passwords (required when IDM is enabled and /etc/opencloud is read-only)
|
# IDM service user passwords (required when IDM is enabled and /etc/opencloud is read-only)
|
||||||
idm:
|
idm:
|
||||||
service_user_passwords:
|
service_user_passwords:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue