graph: Add accountEnabled flag to ldap backend. (#5588)

* graph: Add accountEnabled flag to ldap backend.

* Add missing accountEnabled attribute to user listing.
This commit is contained in:
Daniel Swärd
2023-02-17 13:48:12 +01:00
committed by GitHub
parent 359509dcfe
commit fcf5783a1b
7 changed files with 234 additions and 54 deletions

View File

@@ -68,6 +68,7 @@ func DefaultConfig() *config.Config {
// FIXME: switch this to some more widely available attribute by default
// ideally this needs to be constant for the lifetime of a users
UserIDAttribute: "owncloudUUID",
UserEnabledAttribute: "ownCloudUserEnabled",
GroupBaseDN: "ou=groups,o=libregraph-idm",
GroupSearchScope: "sub",
GroupFilter: "",