X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=userdir-ldap.schema;h=37dc7c5d53f79fb571b242287759d99b026f24d7;hb=2420263569c3f95df9e0e4bf06937dafebc7920e;hp=d31d0e79790cf897b4d0d6edff2a2997b268e51b;hpb=bb945fb1a5ba9ddeee3fc90a477cfc49e9b53ce5;p=mirror%2Fuserdir-ldap.git diff --git a/userdir-ldap.schema b/userdir-ldap.schema index d31d0e7..37dc7c5 100644 --- a/userdir-ldap.schema +++ b/userdir-ldap.schema @@ -1,9 +1,12 @@ # Revision history: # -# XXX +# - [PP] Now version controlled in db.d.o git repository, also see debian/changelog - 2009 # - [PP] Now version controlled in db.d.o bzr repository - 2007-12-25 +# +# long time ago: # - [HE] Add 'purpose', 'physicalHost' to debianServer - 2007-12-25 # - [zobel] Add 'VoIP' - 2008-05-10 +# - [luk] Add 'subGroup' to group - 2008-11-22 # # 0.7 [RM] # - Add 'gender' and 'birthDate' to debianDeveloper @@ -98,6 +101,11 @@ # .33 - purpose # .34 - physicalHost # .35 - VoIP +# .36 - sudoPassword +# .37 - subGroup +# .38 - mailContentInspectionAction +# .39 - allowedGroups +# .40 - exportOptions # # .3 - experimental LDAP objectClasses # .1 - debianDeveloper @@ -359,21 +367,33 @@ attributetype ( 1.3.6.1.4.1.9586.100.4.2.35 SUBSTR caseIgnoreIA5SubstringsMatch 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.36 + NAME 'sudoPassword' + DESC 'sudo password' + 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.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 ) ) +attributetype ( 1.3.6.1.4.1.9586.100.4.2.37 + NAME 'subGroup' + DESC 'name of other group for which membership implied by memberschip to this group' + 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.2 - NAME 'debianGroup' - SUP top STRUCTURAL - DESC 'attributes used for Debian groups' - MUST ( gid $ gidNumber ) - MAY ( description ) ) +# 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 ) + +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 ) # Experimental attribute types @@ -461,6 +481,30 @@ 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.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 ) + + +# 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 ) ) + +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 $ accountStatus ) ) + # Experimental objectclasses: objectclass ( 1.3.6.1.4.1.9586.100.4.3.1 @@ -474,7 +518,7 @@ 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 + mailRBL $ mailRHSBL $ mailWhitelist $ VoIP $ mailContentInspectionAction ) ) objectclass ( 1.3.6.1.4.1.9586.100.4.3.2 @@ -484,7 +528,8 @@ 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 $ + sshRSAHostKey $ purpose $ allowedGroups $ exportOptions $ MXRecord ) ) objectclass ( 1.3.6.1.4.1.9586.100.4.3.3 @@ -493,5 +538,5 @@ 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 + mailWhitelist $ dnsZoneEntry $ mailContentInspectionAction ) )