-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright Vivid Inc. Released under the terms of the Apache 2.0 license. | ||
# | ||
# See `labeled.schema' for details. | ||
# | ||
# To add this schema to OpenLDAP using its dynamic runtime configuration | ||
# engine "olc" introduced in version OpenLDAP 2.3: | ||
# | ||
# slapadd -n 0 -l labeled.ldif | ||
|
||
dn: cn=labeled,cn=schema,cn=config | ||
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} ) | ||
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 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright Vivid Inc. Released under the terms of the Apache 2.0 license. | ||
# | ||
# LDAP schema defining a label structural object 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: | ||
# | ||
# |-- objectClass: labeled | ||
# ... | ||
# label: X3-working-group | ||
# label: tentative | ||
# | ||
# Changelog: | ||
# 20191120 | ||
# - Formally organized under Vivid's IANA PEN 1.3.6.1.4.1.54908. | ||
# - Released as Open Source under the terms of the Apache 2.0 license. | ||
|
||
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} ) | ||
|
||
objectclass ( 1.3.6.1.4.1.54908.1.2.2 NAME 'labeled' | ||
DESC 'Arbitrary labeling of record objects' | ||
SUP top STRUCTURAL | ||
MAY label ) |