diff --git a/schema/.custom.schema.swp b/schema/.custom.schema.swp new file mode 100644 index 0000000..c040059 Binary files /dev/null and b/schema/.custom.schema.swp differ diff --git a/schema/custom.schema b/schema/custom.schema index 889cac6..0996e6e 100644 --- a/schema/custom.schema +++ b/schema/custom.schema @@ -41,7 +41,13 @@ attributetype ( 2.25.330098197460787237907941808102951680393.1.5 NAME 'secur SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) +attributetype ( 2.25.330098197460787237907941808102951680393.1.6 NAME 'authCode' + DESC 'Two factor authentication code' + EQUALITY caseIgnoreIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE ) + objectclass ( 2.25.330098197460787237907941808102951680393.1.2.0 NAME 'accountsManagement' SUP top AUXILIARY DESC 'Accounts management' MUST ( cn $ uid $ active $ fakeCn $ devices ) - MAY ( userPassword $ description $ lastLogin $ ip $ secureAuth) ) + MAY ( userPassword $ description $ lastLogin $ ip $ secureAuth $ authCode) )