ldap-docker/schema/custom.schema
2022-04-22 22:31:55 +02:00

33 lines
1.1 KiB
Plaintext

##
## This file is taken from /usr/share/quota/ldap
## schema file for Unix Quotas
## Schema for storing Unix Quotas in LDAP
## OIDs are owned by Cogent Innovators, LLC
##
## 1.3.6.1.4.1.19937.1.1.x - attributetypes
## 1.3.6.1.4.1.19937.1.2.x - objectclasses
##
attributetype ( 2.25.330098197460787237907941808102951680393.1.0 NAME 'active'
DESC 'True if account is active'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
attributetype ( 2.25.330098197460787237907941808102951680393.1.1 NAME 'fakeCn'
DESC 'True if the CN or fullname was created ramdomly and is still ficticious'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
#attributetype ( 2.25.330098197460787237907941808102951680393.1.2 NAME 'lastAccess'
# DESC 'Last access timestamp'
# EQUALITY generalizedTimeMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
# SINGLE-VALUE )
objectclass ( 2.25.330098197460787237907941808102951680393.1.2.0 NAME 'accountsManagement' SUP top AUXILIARY
DESC 'Accounts management'
MUST ( cn $ uid $ active $ fakeCn )
MAY ( userPassword $ description ) )