From e7f775945831c4d5a80d816f2af60de418aed958 Mon Sep 17 00:00:00 2001 From: Benjamin Collet Date: Sat, 25 Mar 2017 10:45:07 +0100 Subject: [PATCH] Initial commit --- altnet.schema | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 altnet.schema diff --git a/altnet.schema b/altnet.schema new file mode 100644 index 0000000..bbdc2ca --- /dev/null +++ b/altnet.schema @@ -0,0 +1,93 @@ +attributetype ( 1.3.6.1.4.1.39196.2.1.1 NAME 'transport' + DESC 'A string directing postfix which transport to use' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{20} SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.39196.2.1.2 NAME 'maildrop' + DESC 'RFC822 Mailbox - mail alias' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) + +attributetype ( 1.3.6.1.4.1.39196.2.1.3 NAME 'mailAcceptingAddress' + DESC 'RFC822 alternate email address of this recipient' + EQUALITY caseIgnoreIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{127} ) + +attributetype ( 1.3.6.1.4.1.39196.2.1.4 NAME 'jabberUser' + DESC 'A Jabber user id' + EQUALITY caseIgnoreMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.39196.2.1.5 NAME 'jabberDomain' + DESC 'A Jabber user domain' + EQUALITY caseIgnoreIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{20} SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.39196.2.1.6 NAME 'mailServer' + DESC 'A string directing postfix which server to use' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{20} SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.39196.2.1.7 NAME 'mailRelayed' + DESC 'A boolean value directing postfix to relay mail for this domain' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.39196.2.1.10 NAME 'mailRelay' + DESC 'A boolean value directing postfix to relay mail for this domain' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.39196.2.1.8 NAME 'mailAcceptingAddressPrimary' + DESC 'RFC822 primary email address of this recipient' + EQUALITY caseIgnoreIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{127} SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.39196.2.1.9 NAME 'mailHosted' + DESC 'A boolean value indicated postfix that mail for this domain is hosted locally' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.39196.2.1.11 NAME 'mailQuota' + DESC 'Quotas (FileSystem:BlocksSoft,BlocksHard,InodesSoft,InodesHard)' + EQUALITY caseIgnoreIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{255} ) + +objectclass ( 1.3.6.1.4.1.39196.2.2.1 NAME 'mailAccount' + SUP top + AUXILIARY + DESC 'Mail account' + MUST ( uid $ userPassword $ mailAcceptingAddressPrimary $ mailQuota ) + MAY ( mailServer $ mailAcceptingAddress ) ) + +objectclass ( 1.3.6.1.4.1.39196.2.2.2 NAME 'mailAlias' + SUP top + STRUCTURAL + DESC 'Mail aliasing/forwarding entry' + MUST ( cn $ maildrop ) ) + +objectclass ( 1.3.6.1.4.1.39196.2.2.3 NAME 'mailTransport' + SUP top + STRUCTURAL + DESC 'Transport map entry' + MUST ( cn ) + MAY ( owner $ transport $ mailRelayed $ mailHosted ) ) + +objectClass ( 1.3.6.1.4.1.39196.2.2.4 NAME 'jabberAccount' + SUP top + DESC 'Jabber account' + AUXILIARY + MUST ( userPassword $ jabberUser $ jabberDomain ) ) + +objectClass ( 1.3.6.1.4.1.39196.2.2.5 NAME 'vpnAccount' + SUP top + DESC 'VPN account' + AUXILIARY + MUST ( uid $ userPassword ) ) + +objectClass ( 1.3.6.1.4.1.39196.2.2.6 NAME 'wifiAccount' + SUP top + DESC 'WiFi account' + AUXILIARY + MUST ( uid $ userPassword ) )