X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=userdir-ldap.schema;h=2774250293b9327a084a02a80262b60143b07967;hb=b22af6dffb85542441935a2c117105b38f0b53b5;hp=35df6daacf0486e05efa6522c06cca2d57ce5b1d;hpb=a3437bcd185d533199ebd7c3e0f69b816cc904af;p=mirror%2Fuserdir-ldap.git diff --git a/userdir-ldap.schema b/userdir-ldap.schema index 35df6da..2774250 100644 --- a/userdir-ldap.schema +++ b/userdir-ldap.schema @@ -104,6 +104,13 @@ # .36 - sudoPassword # .37 - subGroup # .38 - mailContentInspectionAction +# .39 - allowedGroups +# .40 - exportOptions +# .41 - sshdistAuthKeysHost +# .42 - dnsTTL +# .43 - webPassword +# .44 - rtcPassword +# .45 - rebootPolicy # # .3 - experimental LDAP objectClasses # .1 - debianDeveloper @@ -123,6 +130,9 @@ # .11 - DNS RBL # .12 - RHS RBL # .13 - whitelist +# .14 - bATVToken +# .15 - mailDefaultOptions +# .16 - mailPreserveSuffixSeparator # Public attribute types attributetype ( 1.3.6.1.4.1.9586.100.4.2.1 @@ -378,22 +388,32 @@ attributetype ( 1.3.6.1.4.1.9586.100.4.2.37 SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) +# more attributes below +attributetype ( 1.3.6.1.4.1.9586.100.4.2.39 + NAME 'allowedGroups' + DESC 'Groups that have access to a host' + EQUALITY caseExactIA5Match + SUBSTR caseExactIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) -# Public object classes +attributetype ( 1.3.6.1.4.1.9586.100.4.2.40 + NAME 'exportOptions' + DESC 'export options for servers' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) -objectclass ( 1.3.6.1.4.1.9586.100.4.1.1 - NAME 'debianAccount' - DESC 'Abstraction of an account with POSIX attributes and UTF8 support' - SUP top AUXILIARY - MUST ( cn $ uid $ uidNumber $ gidNumber ) - MAY ( userPassword $ loginShell $ gecos $ homeDirectory $ description $ mailDisableMessage $ sudoPassword ) ) +attributetype ( 1.3.6.1.4.1.9586.100.4.2.43 + NAME 'webPassword' + DESC 'web password for SSO' + EQUALITY octetStringMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 ) -objectclass ( 1.3.6.1.4.1.9586.100.4.1.2 - NAME 'debianGroup' - SUP top STRUCTURAL - DESC 'attributes used for Debian groups' - MUST ( gid $ gidNumber ) - MAY ( description $ subGroup ) ) +attributetype ( 1.3.6.1.4.1.9586.100.4.2.44 + NAME 'rtcPassword' + DESC 'rtc password for SIP/XMPP' + EQUALITY octetStringMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 ) # Experimental attribute types @@ -481,13 +501,64 @@ attributetype ( 1.3.6.1.4.1.9586.100.4.4.13 SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) +attributetype ( 1.3.6.1.4.1.9586.100.4.4.14 + NAME 'bATVToken' + DESC 'Token for BATV' + EQUALITY caseExactMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.9586.100.4.4.15 + NAME 'mailDefaultOptions' + DESC 'Whether or not to use a default set of anti-spam options' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.9586.100.4.4.16 + NAME 'mailPreserveSuffixSeparator' + DESC 'suffix serparator' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1} ) + attributetype ( 1.3.6.1.4.1.9586.100.4.2.38 NAME 'mailContentInspectionAction' DESC 'what to do on content inspection hits' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.9586.100.4.2.41 + NAME ( 'sshdistAuthKeysHost' ) + SUP ipHostNumber ) + +attributetype ( 1.3.6.1.4.1.9586.100.4.4.42 + NAME 'dnsTTL' + DESC 'DNS Time To Live value' + EQUALITY caseIgnoreIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.9586.100.4.4.45 + NAME 'rebootPolicy' + DESC 'which procedure to use for rebooting this host' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) +# Public object classes + +objectclass ( 1.3.6.1.4.1.9586.100.4.1.1 + NAME 'debianAccount' + DESC 'Abstraction of an account with POSIX attributes and UTF8 support' + SUP top AUXILIARY + MUST ( cn $ uid $ uidNumber $ gidNumber ) + MAY ( userPassword $ loginShell $ gecos $ homeDirectory $ description $ mailDisableMessage $ sudoPassword $ webPassword $ rtcPassword ) ) + +objectclass ( 1.3.6.1.4.1.9586.100.4.1.2 + NAME 'debianGroup' + SUP top STRUCTURAL + DESC 'attributes used for Debian groups' + MUST ( gid $ gidNumber ) + MAY ( cn $ description $ subGroup $ accountStatus ) ) # Experimental objectclasses: @@ -502,7 +573,8 @@ objectclass ( 1.3.6.1.4.1.9586.100.4.3.1 jabberJID $ keyFingerPrint $ latitude $ longitude $ mn $ onVacation $ privateSub $ sshRSAAuthKey $ supplementaryGid $ access $ gender $ birthDate $ mailCallout $ mailGreylisting $ - mailRBL $ mailRHSBL $ mailWhitelist $ VoIP $ mailContentInspectionAction + mailRBL $ mailRHSBL $ mailWhitelist $ VoIP $ mailContentInspectionAction $ + bATVToken $ mailDefaultOptions $ mailPreserveSuffixSeparator ) ) objectclass ( 1.3.6.1.4.1.9586.100.4.3.2 @@ -512,7 +584,9 @@ objectclass ( 1.3.6.1.4.1.9586.100.4.3.2 MUST ( host $ hostname ) MAY ( c $ access $ admin $ architecture $ bandwidth $ description $ disk $ distribution $ l $ machine $ memory $ sponsor $ - sponsor-admin $ sshRSAHostKey $ status $ purpose $ physicalHost + sponsor-admin $ status $ physicalHost $ ipHostNumber $ dnsTTL $ + sshRSAHostKey $ purpose $ allowedGroups $ exportOptions $ MXRecord $ + sshdistAuthKeysHost $ rebootPolicy ) ) objectclass ( 1.3.6.1.4.1.9586.100.4.3.3 @@ -521,5 +595,6 @@ objectclass ( 1.3.6.1.4.1.9586.100.4.3.3 SUP account STRUCTURAL MAY ( emailForward $ supplementaryGid $ allowedHost $ labeledURI $ mailCallout $ mailGreylisting $ mailRBL $ mailRHSBL $ - mailWhitelist $ dnsZoneEntry $ mailContentInspectionAction + mailWhitelist $ dnsZoneEntry $ mailContentInspectionAction $ + bATVToken $ mailDefaultOptions $ sshRSAAuthKey $ mailPreserveSuffixSeparator ) )