Skip to content

Commit

Permalink
Adjusting label length. Restoring STRUCTURAL object class to mailAlia…
Browse files Browse the repository at this point in the history
…sList.
  • Loading branch information
enspritz committed Nov 21, 2019
1 parent 13ac40f commit 905380c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions schemas/labeled.ldif
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ objectClass: olcSchemaConfig
cn: labeled
olcAttributeTypes: {0}( 1.3.6.1.4.1.54908.1.2.1 NAME 'label' DESC 'Free-form
label' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYN
TAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
TAX 1.3.6.1.4.1.1466.115.121.1.26{32768} )
olcObjectClasses: {0}( 1.3.6.1.4.1.54908.1.2.2 NAME 'labeled' DESC 'Arbitrar
y labeling of record objects' SUP top STRUCTURAL MAY label )
y labeling of record objects' SUP top AUXILIARY MAY label )
8 changes: 4 additions & 4 deletions schemas/labeled.schema
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright Vivid Inc. Released under the terms of the Apache 2.0 license.
#
# LDAP schema defining a label structural object and its corresponding attribute.
# LDAP schema defining a label auxiliary object class and its corresponding attribute.
# Useful for adding ad-hoc, free-form labels to records without semantic limitation.
# An example LDAP record utilizing the `labeled' structural object class:
# An example LDAP record utilizing the `labeled' object class:
#
# |-- objectClass: labeled
# ...
Expand All @@ -18,9 +18,9 @@ attributetype ( 1.3.6.1.4.1.54908.1.2.1 NAME 'label'
DESC 'Free-form label'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32768} )

objectclass ( 1.3.6.1.4.1.54908.1.2.2 NAME 'labeled'
DESC 'Arbitrary labeling of record objects'
SUP top STRUCTURAL
SUP top AUXILIARY
MAY label )
4 changes: 2 additions & 2 deletions schemas/mailAliasList.ldif
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ olcAttributeTypes: {1}( 1.3.6.1.4.1.54908.1.1.2 NAME 'memberDn' DESC 'Alias
redirects to members identified by DN' EQUALITY distinguishedNameMatch SYNT
AX 1.3.6.1.4.1.1466.115.121.1.12 )
olcObjectClasses: {0}( 1.3.6.1.4.1.54908.1.1.3 NAME 'mailAliasList' DESC 'Em
ail address alias redirection list' SUP top STRUCTURAL MAY ( mailAlias $ me
mberDn ) )
ail address alias redirection list' SUP top STRUCTURAL MUST cn MAY ( mailAl
ias $ memberDn $ description ) )
11 changes: 6 additions & 5 deletions schemas/mailAliasList.schema
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright Vivid Inc. Released under the terms of the Apache 2.0 license.
#
# Defines a mail alias list structural object and its attendant attributes.
# Useful for receiving mail on virtual email addresses (mail aliases) and
# forwarding to actual email accounts.
# An LDAP schema defining a mail alias list structural object class and
# its attendant attributes. Useful for receiving mail on virtual email
# addresses (mail aliases) and forwarding to actual email accounts.
#
# This schema depends on core.schema. It has been battle-tested in
# production on OpenLDAP for several years prior to being open-sourced.
Expand All @@ -12,7 +12,7 @@
#
# Example:
# Here is an example LDAP object record utilizing the `mailAliasList'
# structural object. An email received at any of the `mailAlias' email
# object class. An email received at any of the `mailAlias' email
# addresses would be redirected to every one of the email addresses
# associated with the `memberDn' user accounts. The redirection is
# performed by a mail daemon (MTA) configured to consult these
Expand Down Expand Up @@ -79,4 +79,5 @@ attributetype ( 1.3.6.1.4.1.54908.1.1.2 NAME 'memberDn'
objectclass ( 1.3.6.1.4.1.54908.1.1.3 NAME 'mailAliasList'
DESC 'Email address alias redirection list'
SUP top STRUCTURAL
MAY ( mailAlias $ memberDn ) )
MUST cn
MAY ( mailAlias $ memberDn $ description ) )

0 comments on commit 905380c

Please sign in to comment.