-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Labels
Description
Describe the bug
my opencloud server infinitely searches for ldap group members
Steps to reproduce
- setup opencloud-compose with oidc and ldap
- run opencloud-compose
- assign members to groups in ldap
- log is being spammed by ldap searches
Expected behavior
opencloud only searches ldap at reasonable intervals like once a day and on request of an admin when they open the groups or people dashboard
Actual behavior
opencloud continuously searches ldap for group members, wasting resources both on the opencloud server and the ldap instance that has to serve these searches
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Details
OC_LDAP_GROUP_BASE_DN: "o=kanidm"
OC_LDAP_GROUP_OBJECTCLASS: "group"
OC_LDAP_GROUP_SCHEMA_GROUPNAME: name
OC_LDAP_GROUP_SCHEMA_ID: uuid
OC_LDAP_GROUP_FILTER: "(&(memberof=spn=opencloud)(!(class=builtin)))"
OC_LDAP_USER_SCHEMA_USER_TYPE: "person"
OC_LDAP_USER_BASE_DN: "o=kanidm"
OC_LDAP_USER_OBJECTCLASS: "person"
OC_LDAP_USER_FILTER: "(&(memberof=spn=opencloud)(!(class=group)))"
OC_LDAP_DISABLE_USER_MECHANISM: none
OC_LDAP_USER_SCHEMA_ID: uuid
OC_LDAP_USER_SCHEMA_USERNAME: name
OC_LDAP_USER_SCHEMA_DISPLAYNAME: displayname
OC_LDAP_SERVER_WRITE_ENABLED: "false"Additional context
logs:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Qualification