ldap-docker/schema/custom.schema

55 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

2022-04-22 22:31:55 +02:00
##
2022-04-23 16:59:38 +02:00
## Schema for account management extra attributes in LDAP
## by Wproject 2022
2022-04-22 22:31:55 +02:00
## 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
##
2023-11-30 08:50:13 +01:00
2022-04-22 22:31:55 +02:00
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 )
2023-04-05 13:10:24 +02:00
attributetype ( 2.25.330098197460787237907941808102951680393.1.2 NAME 'devices'
2023-04-04 20:27:49 +02:00
DESC 'Trusted devices info from user-agent'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
2023-04-05 13:10:24 +02:00
attributetype ( 2.25.330098197460787237907941808102951680393.1.3 NAME 'lastLogin'
DESC 'Last login timestamp'
EQUALITY generalizedTimeMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
SINGLE-VALUE )
attributetype ( 2.25.330098197460787237907941808102951680393.1.4 NAME 'ip'
DESC 'ip address'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
2022-04-22 22:31:55 +02:00
2023-11-08 08:40:04 +01:00
attributetype ( 2.25.330098197460787237907941808102951680393.1.5 NAME 'secureAuth'
DESC 'True if 2FA active'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
2023-11-25 15:52:48 +01:00
attributetype ( 2.25.330098197460787237907941808102951680393.1.6 NAME 'authCode'
2023-11-24 06:37:47 +01:00
DESC 'Two factor authentication token'
2023-11-16 12:11:24 +01:00
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
2022-04-22 22:31:55 +02:00
objectclass ( 2.25.330098197460787237907941808102951680393.1.2.0 NAME 'accountsManagement' SUP top AUXILIARY
DESC 'Accounts management'
2023-11-30 08:50:13 +01:00
MUST ( cn $ uid $ active $ fakeCn )
MAY ( userPassword $ description $ lastLogin $ ip $ devices $ secureAuth $ authCode ) )