ldap

DriversUsers and groupsUser managers
Package
github.com/cs3org/reva/v3/pkg/user/manager/ldap
Source
pkg/user/manager/ldap · Go reference

Enable it

Select the driver in the service that uses it, and put its settings in the driver's own table:

[grpc.services.userprovider]
driver = "ldap"

[grpc.services.userprovider.drivers.ldap]
# settings below
This package has no documentation yet. Add a package doc comment or a README.md in pkg/user/manager/ldap, then run make gen-doc.

Configuration

config

KeyTypeDefaultDescription
Includes the settings of utils.LDAPConn.
base_dnstring-source
userfilterstringstrings.ReplaceAll(c.UserFilter, "%s", "{{.OpaqueId}}")source
attributefilterstring-source
findfilterstringsame as userfiltersource
groupfilterstringstrings.ReplaceAll(c.GroupFilter, "%s", "{{.OpaqueId}}")source
idpstring-source
schemaattributes-source
nobodyint6499source

attributes

KeyTypeDefaultDescription
dnstring-DN is the distinguished name in ldap, e.g. cn=einstein,ou=users,dc=example,dc=org source
uidstring-UID is an immutable user id, see https://docs.microsoft.com/en-us/azure/active-directory/hybrid/plan-connect-design-concepts source
cnstring-CN is the username, typically cn, uid or samaccountname source
mailstring-Mail is the email address of a user source
displayNamestring-Displayname is the Human readable name, e.g. Albert Einstein source
uidNumberstring-UIDNumber is a numeric id that maps to a filesystem uid, eg. 123546 source
gidNumberstring-GIDNumber is a numeric id that maps to a filesystem gid, eg. 654321 source