mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-04 18:14:53 -05:00
LDAP user backend for GraphAPI
This is still read-only and doesn't support any of the advanced querying options of the graph API.
This commit is contained in:
@@ -32,6 +32,8 @@ func NewService(opts ...Option) Service {
|
||||
Config: &options.Config.Reva,
|
||||
Logger: &options.Logger,
|
||||
}
|
||||
case "ldap":
|
||||
userBackend = identity.NewLDAPBackend(options.Config.Identity.LDAP, &options.Logger)
|
||||
default:
|
||||
options.Logger.Error().Msgf("Unknown Identity Backend: '%s'", options.Config.Identity.Backend)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user