40 lines
1.8 KiB
Plaintext
40 lines
1.8 KiB
Plaintext
# This LDIF files describes the OpenCloud schema
|
|
dn: cn=opencloud,cn=schema,cn=config
|
|
objectClass: olcSchemaConfig
|
|
cn: opencloud
|
|
olcObjectIdentifier: openCloudOid 1.3.6.1.4.1.63016
|
|
# We'll use openCloudOid:1 subarc for LDAP related stuff
|
|
# openCloudOid:1.1 for AttributeTypes and openCloudOid:1.2 for ObjectClasses
|
|
olcAttributeTypes: ( openCloudOid:1.1.1 NAME 'openCloudUUID'
|
|
DESC 'A non-reassignable and persistent account ID)'
|
|
EQUALITY uuidMatch
|
|
SUBSTR caseIgnoreSubstringsMatch
|
|
SYNTAX 1.3.6.1.1.16.1 SINGLE-VALUE )
|
|
olcAttributeTypes: ( openCloudOid:1.1.2 NAME 'openCloudExternalIdentity'
|
|
DESC 'A triple separated by "$" representing the objectIdentity resource type of the Graph API ( signInType $ issuer $ issuerAssignedId )'
|
|
EQUALITY caseIgnoreMatch
|
|
SUBSTR caseIgnoreSubstringsMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
|
olcAttributeTypes: ( openCloudOid:1.1.3 NAME 'openCloudUserEnabled'
|
|
DESC 'A boolean value indicating if the user is enabled'
|
|
EQUALITY booleanMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE)
|
|
olcAttributeTypes: ( openCloudOid:1.1.4 NAME 'openCloudUserType'
|
|
DESC 'User type (e.g. Member or Guest)'
|
|
EQUALITY caseIgnoreMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
|
|
olcAttributeTypes: ( openCloudOid:1.1.5 NAME 'openCloudLastSignInTimestamp'
|
|
DESC 'The timestamp of the last sign-in'
|
|
EQUALITY generalizedTimeMatch
|
|
ORDERING generalizedTimeOrderingMatch
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 SINGLE-VALUE )
|
|
olcObjectClasses: ( openCloudOid:1.2.1 NAME 'openCloudObject'
|
|
DESC 'OpenCloud base objectclass'
|
|
AUXILIARY
|
|
MAY ( openCloudUUID ) )
|
|
olcObjectClasses: ( openCloudOid:1.2.2 NAME 'openCloudUser'
|
|
DESC 'OpenCloud User objectclass'
|
|
SUP openCloudObject
|
|
AUXILIARY
|
|
MAY ( openCloudExternalIdentity $ openCloudUserEnabled $ openCloudUserType $ openCloudLastSignInTimestamp) )
|