Skip to content
Browse files

Merge marschap/next into next

  • Loading branch information...
2 parents 25f1777 + 11ea6b1 commit a6473df627145579ed1882b035243d632cdfe90a @marschap marschap committed Sep 20, 2012
View
2 Changes
@@ -6,7 +6,7 @@ Bug Fixes
* LWP/Protocol/ldap.pm: complete overhaul
Enhancements
-* more feture constants in Net/LDAP/Constant.pm
+* more feature constants in Net/LDAP/Constant.pm
* new features & documentation for LWP/Protocol/ldap.pm
* LWP/Protocol/ldapi.pm: support ldapi:// URIs with LWP
* contrib/LWPsearch.pl: demo program for LWP::Protocol::ldap*
View
8 contrib/LWPsearch.pl
@@ -19,10 +19,10 @@
# die on errors on the command line
die "Usage: LWPsearch [<options>] <LDAP-URL>\n" .
" where <options> are:\n" .
- " -f --format {html|ldif|json} output format\n" .
+ " -f --format {dsml|html|json|ldif} output format\n" .
" -u --user <username> user name (DN) to logon to LDAP server\n" .
" -p --password <password> password to logon to LDAP server\n"
- if (!$result || scalar(@ARGV) != 1 || ($format && $format !~ /^(json|ldif|html)$/));
+ if (!$result || scalar(@ARGV) != 1 || ($format && $format !~ /^(dsml|json|ldif|html)$/));
# create a user agent object
my $ua = LWP::UserAgent->new;
@@ -55,7 +55,7 @@ =head1 NAME
=head1 SYNOPSIS
B<LWPsearch.pl>
-[B<-f|--format> {C<html>|C<json>|C<ldif>}]
+[B<-f|--format> {C<dsml>|C<html>|C<json>|C<ldif>}]
[B<-u|--user> I<user>]
[B<-p|--password> I<password>]
B<LDAP-URL>
@@ -74,7 +74,7 @@ =head1 OPTIONS
=over 4
-=item B<-f|--format> {C<html>|C<json>|C<ldif>}
+=item B<-f|--format> {C<dsml>|C<html>|C<json>|C<ldif>}
Specifies the the output format to use.
View
607 data/core.schema
@@ -1,364 +1,399 @@
-# $OpenLDAP: pkg/ldap/servers/slapd/schema/core.schema,v 1.7.2.12 2001/09/18 18:34:22 kurt Exp $
-#
# OpenLDAP Core schema
+# $OpenLDAP$
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
+##
+## Copyright 1998-2012 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## <http://www.OpenLDAP.org/license.html>.
#
-# Includes LDAPv3 schema items from:
-# RFC2251-RFC2256 (LDAPv3)
+## Portions Copyright (C) The Internet Society (1997-2006).
+## All Rights Reserved.
+##
+## This document and translations of it may be copied and furnished to
+## others, and derivative works that comment on or otherwise explain it
+## or assist in its implementation may be prepared, copied, published
+## and distributed, in whole or in part, without restriction of any
+## kind, provided that the above copyright notice and this paragraph are
+## included on all such copies and derivative works. However, this
+## document itself may not be modified in any way, such as by removing
+## the copyright notice or references to the Internet Society or other
+## Internet organizations, except as needed for the purpose of
+## developing Internet standards in which case the procedures for
+## copyrights defined in the Internet Standards process must be
+## followed, or as required to translate it into languages other than
+## English.
+##
+## The limited permissions granted above are perpetual and will not be
+## revoked by the Internet Society or its successors or assigns.
+##
+## This document and the information contained herein is provided on an
+## "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
+## TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
+## BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
+## HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
+## MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+
#
-# select standard track schema items:
-# RFC2079 (URI)
-# RFC1274 (uid/dc)
-# RFC2247 (dc/dcObject)
-# RFC2289 (Dynamic Directory Services)
#
-# select informational schema items:
-# RFC2377 (uidObject)
+# Includes LDAPv3 schema items from:
+# RFC 2252/2256 (LDAPv3)
#
-# select IETF ''work in progress'' LDAPext/LDUP items
-# ldapSubentry
-# ldapRootDSE
-# named referrals
-# alias draft
-
-# Standard X.501(93) Operational Attribute Types from RFC2252
-
-attributetype ( 2.5.18.1 NAME 'createTimestamp'
- EQUALITY generalizedTimeMatch
- ORDERING generalizedTimeOrderingMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
- SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )
-
-attributetype ( 2.5.18.2 NAME 'modifyTimestamp'
- EQUALITY generalizedTimeMatch
- ORDERING generalizedTimeOrderingMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
- SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )
-
-attributetype ( 2.5.18.3 NAME 'creatorsName'
- EQUALITY distinguishedNameMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
- SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )
-
-attributetype ( 2.5.18.4 NAME 'modifiersName'
- EQUALITY distinguishedNameMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
- SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )
-
-attributetype ( 2.5.18.10 NAME 'subschemaSubentry'
- EQUALITY distinguishedNameMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 NO-USER-MODIFICATION
- SINGLE-VALUE USAGE directoryOperation )
-
-attributetype ( 2.5.21.1 NAME 'dITStructureRules'
- EQUALITY integerFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.17 USAGE directoryOperation )
-
-attributetype ( 2.5.21.2 NAME 'dITContentRules'
- EQUALITY objectIdentifierFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.16 USAGE directoryOperation )
-
-attributetype ( 2.5.21.4 NAME 'matchingRules'
- EQUALITY objectIdentifierFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.30 USAGE directoryOperation )
-
-attributetype ( 2.5.21.5 NAME 'attributeTypes'
- EQUALITY objectIdentifierFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.3 USAGE directoryOperation )
-
-attributetype ( 2.5.21.6 NAME 'objectClasses'
- EQUALITY objectIdentifierFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.37 USAGE directoryOperation )
-
-attributetype ( 2.5.21.7 NAME 'nameForms'
- EQUALITY objectIdentifierFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.35 USAGE directoryOperation )
-
-attributetype ( 2.5.21.8 NAME 'matchingRuleUse'
- EQUALITY objectIdentifierFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.31 USAGE directoryOperation )
-
-# From X.500(93)
-attributetype ( 2.5.21.9 NAME 'structuralObjectClass'
- DESC 'X.500(93) structural object class'
- EQUALITY objectIdentifierMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.38
- NO-USER-MODIFICATION SINGLE-VALUE USAGE directoryOperation )
-
-# LDAP Operational Attributes from RFC2252
-attributetype ( 1.3.6.1.4.1.1466.101.120.5 NAME 'namingContexts'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 USAGE dSAOperation )
-
-attributetype ( 1.3.6.1.4.1.1466.101.120.6 NAME 'altServer'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 USAGE dSAOperation )
-
-attributetype ( 1.3.6.1.4.1.1466.101.120.7 NAME 'supportedExtension'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 USAGE dSAOperation )
-
-attributetype ( 1.3.6.1.4.1.1466.101.120.13 NAME 'supportedControl'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 USAGE dSAOperation )
-
-attributetype ( 1.3.6.1.4.1.1466.101.120.14 NAME 'supportedSASLMechanisms'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 USAGE dSAOperation )
-
-attributetype ( 1.3.6.1.4.1.1466.101.120.15 NAME 'supportedLDAPVersion'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 USAGE dSAOperation )
-
-attributetype ( 1.3.6.1.4.1.1466.101.120.16 NAME 'ldapSyntaxes'
- EQUALITY objectIdentifierFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.54 USAGE directoryOperation )
-
-# Object Classes from RFC2252
-objectclass ( 2.5.20.1 NAME 'subschema' AUXILIARY
- DESC 'RFC2252: controlling subschema'
- MAY ( dITStructureRules $ nameForms $ ditContentRules $
- objectClasses $ attributeTypes $ matchingRules $
- matchingRuleUse ) )
-
-# Standard attribute types used for subtyping from RFC2256
-
-attributetype ( 2.5.4.41 NAME 'name'
- EQUALITY caseIgnoreMatch
- SUBSTR caseIgnoreSubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
+# Select standard track schema items:
+# RFC 1274 (uid/dc)
+# RFC 2079 (URI)
+# RFC 2247 (dc/dcObject)
+# RFC 2587 (PKI)
+# RFC 2589 (Dynamic Directory Services)
+# RFC 4524 (associatedDomain)
+#
+# Select informational schema items:
+# RFC 2377 (uidObject)
-attributetype ( 2.5.4.49 NAME 'distinguishedName'
- EQUALITY distinguishedNameMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
+#
+# Standard attribute types from RFC 2256
+#
-# Standard attribute types from RFC2256
+# system schema
+#attributetype ( 2.5.4.0 NAME 'objectClass'
+# DESC 'RFC2256: object classes of the entity'
+# EQUALITY objectIdentifierMatch
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )
-attributetype ( 2.5.4.0 NAME 'objectClass'
- EQUALITY objectIdentifierMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )
-
-attributetype ( 2.5.4.1 NAME 'aliasedObjectName'
- EQUALITY distinguishedNameMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE )
+# system schema
+#attributetype ( 2.5.4.1 NAME ( 'aliasedObjectName' 'aliasedEntryName' )
+# DESC 'RFC2256: name of aliased object'
+# EQUALITY distinguishedNameMatch
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE )
-# obsolete
attributetype ( 2.5.4.2 NAME 'knowledgeInformation'
+ DESC 'RFC2256: knowledge information'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
-attributetype ( 2.5.4.3 NAME ( 'cn' 'commonName' ) SUP name )
+# system schema
+#attributetype ( 2.5.4.3 NAME ( 'cn' 'commonName' )
+# DESC 'RFC2256: common name(s) for which the entity is known by'
+# SUP name )
-attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' ) SUP name )
+attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' )
+ DESC 'RFC2256: last (family) name(s) for which the entity is known by'
+ SUP name )
-attributetype ( 2.5.4.5 NAME 'serialNumber' EQUALITY caseIgnoreMatch
+attributetype ( 2.5.4.5 NAME 'serialNumber'
+ DESC 'RFC2256: serial number of the entity'
+ EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{64} )
-# (2-letter code from ISO 3166)
-attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' ) SUP name SINGLE-VALUE )
+# RFC 4519 definition ('countryName' in X.500 and RFC2256)
+attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' )
+ DESC 'RFC4519: two-letter ISO-3166 country code'
+ SUP name
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.11
+ SINGLE-VALUE )
-attributetype ( 2.5.4.7 NAME ( 'l' 'localityName' ) SUP name )
+#attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' )
+# DESC 'RFC2256: ISO-3166 country 2-letter code'
+# SUP name SINGLE-VALUE )
-attributetype ( 2.5.4.8 NAME ( 'st' 'stateOrProvinceName' ) SUP name )
+attributetype ( 2.5.4.7 NAME ( 'l' 'localityName' )
+ DESC 'RFC2256: locality which this object resides in'
+ SUP name )
+
+attributetype ( 2.5.4.8 NAME ( 'st' 'stateOrProvinceName' )
+ DESC 'RFC2256: state or province which this object resides in'
+ SUP name )
attributetype ( 2.5.4.9 NAME ( 'street' 'streetAddress' )
+ DESC 'RFC2256: street address of this object'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
-attributetype ( 2.5.4.10 NAME ( 'o' 'organizationName' ) SUP name )
+attributetype ( 2.5.4.10 NAME ( 'o' 'organizationName' )
+ DESC 'RFC2256: organization this object belongs to'
+ SUP name )
-attributetype ( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' ) SUP name )
+attributetype ( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' )
+ DESC 'RFC2256: organizational unit this object belongs to'
+ SUP name )
-attributetype ( 2.5.4.12 NAME 'title' SUP name )
+attributetype ( 2.5.4.12 NAME 'title'
+ DESC 'RFC2256: title associated with the entity'
+ SUP name )
-attributetype ( 2.5.4.13 NAME 'description'
- EQUALITY caseIgnoreMatch
- SUBSTR caseIgnoreSubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
+# system schema
+#attributetype ( 2.5.4.13 NAME 'description'
+# DESC 'RFC2256: descriptive information'
+# EQUALITY caseIgnoreMatch
+# SUBSTR caseIgnoreSubstringsMatch
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
-# Obsoleted by enhancedSearchGuide
+# Deprecated by enhancedSearchGuide
attributetype ( 2.5.4.14 NAME 'searchGuide'
+ DESC 'RFC2256: search guide, deprecated by enhancedSearchGuide'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.25 )
attributetype ( 2.5.4.15 NAME 'businessCategory'
+ DESC 'RFC2256: business category'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
attributetype ( 2.5.4.16 NAME 'postalAddress'
+ DESC 'RFC2256: postal address'
EQUALITY caseIgnoreListMatch
SUBSTR caseIgnoreListSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )
attributetype ( 2.5.4.17 NAME 'postalCode'
+ DESC 'RFC2256: postal code'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} )
attributetype ( 2.5.4.18 NAME 'postOfficeBox'
+ DESC 'RFC2256: Post Office Box'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} )
attributetype ( 2.5.4.19 NAME 'physicalDeliveryOfficeName'
+ DESC 'RFC2256: Physical Delivery Office Name'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
attributetype ( 2.5.4.20 NAME 'telephoneNumber'
+ DESC 'RFC2256: Telephone Number'
EQUALITY telephoneNumberMatch
SUBSTR telephoneNumberSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50{32} )
attributetype ( 2.5.4.21 NAME 'telexNumber'
+ DESC 'RFC2256: Telex Number'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.52 )
attributetype ( 2.5.4.22 NAME 'teletexTerminalIdentifier'
+ DESC 'RFC2256: Teletex Terminal Identifier'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.51 )
attributetype ( 2.5.4.23 NAME ( 'facsimileTelephoneNumber' 'fax' )
+ DESC 'RFC2256: Facsimile (Fax) Telephone Number'
+ EQUALITY facsimileNumberMatch
+ SUBSTR facsimileNumberSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 )
attributetype ( 2.5.4.24 NAME 'x121Address'
+ DESC 'RFC2256: X.121 Address'
EQUALITY numericStringMatch
SUBSTR numericStringSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{15} )
attributetype ( 2.5.4.25 NAME 'internationaliSDNNumber'
+ DESC 'RFC2256: international ISDN number'
EQUALITY numericStringMatch
SUBSTR numericStringSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} )
-attributetype ( 2.5.4.26 NAME 'registeredAddress' SUP postalAddress
+attributetype ( 2.5.4.26 NAME 'registeredAddress'
+ DESC 'RFC2256: registered postal address'
+ SUP postalAddress
SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )
attributetype ( 2.5.4.27 NAME 'destinationIndicator'
+ DESC 'RFC2256: destination indicator'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{128} )
attributetype ( 2.5.4.28 NAME 'preferredDeliveryMethod'
+ DESC 'RFC2256: preferred delivery method'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.14
SINGLE-VALUE )
attributetype ( 2.5.4.29 NAME 'presentationAddress'
+ DESC 'RFC2256: presentation address'
EQUALITY presentationAddressMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.43
SINGLE-VALUE )
attributetype ( 2.5.4.30 NAME 'supportedApplicationContext'
+ DESC 'RFC2256: supported application context'
EQUALITY objectIdentifierMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )
-attributetype ( 2.5.4.31 NAME 'member' SUP distinguishedName )
+attributetype ( 2.5.4.31 NAME 'member'
+ DESC 'RFC2256: member of a group'
+ SUP distinguishedName )
-attributetype ( 2.5.4.32 NAME 'owner' SUP distinguishedName )
+attributetype ( 2.5.4.32 NAME 'owner'
+ DESC 'RFC2256: owner (of the object)'
+ SUP distinguishedName )
-attributetype ( 2.5.4.33 NAME 'roleOccupant' SUP distinguishedName )
+attributetype ( 2.5.4.33 NAME 'roleOccupant'
+ DESC 'RFC2256: occupant of role'
+ SUP distinguishedName )
-attributetype ( 2.5.4.34 NAME 'seeAlso' SUP distinguishedName )
+# system schema
+#attributetype ( 2.5.4.34 NAME 'seeAlso'
+# DESC 'RFC2256: DN of related object'
+# SUP distinguishedName )
-attributetype ( 2.5.4.35 NAME 'userPassword'
- EQUALITY octetStringMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} )
+# system schema
+#attributetype ( 2.5.4.35 NAME 'userPassword'
+# DESC 'RFC2256/2307: password of user'
+# EQUALITY octetStringMatch
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} )
# Must be transferred using ;binary
+# with certificateExactMatch rule (per X.509)
attributetype ( 2.5.4.36 NAME 'userCertificate'
+ DESC 'RFC2256: X.509 user certificate, use ;binary'
+ EQUALITY certificateExactMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )
# Must be transferred using ;binary
+# with certificateExactMatch rule (per X.509)
attributetype ( 2.5.4.37 NAME 'cACertificate'
+ DESC 'RFC2256: X.509 CA certificate, use ;binary'
+ EQUALITY certificateExactMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )
# Must be transferred using ;binary
attributetype ( 2.5.4.38 NAME 'authorityRevocationList'
+ DESC 'RFC2256: X.509 authority revocation list, use ;binary'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )
# Must be transferred using ;binary
attributetype ( 2.5.4.39 NAME 'certificateRevocationList'
+ DESC 'RFC2256: X.509 certificate revocation list, use ;binary'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )
# Must be stored and requested in the binary form
attributetype ( 2.5.4.40 NAME 'crossCertificatePair'
+ DESC 'RFC2256: X.509 cross certificate pair, use ;binary'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.10 )
-# 2.5.4.41 is defined above as it's used for subtyping
+# system schema
#attributetype ( 2.5.4.41 NAME 'name'
# EQUALITY caseIgnoreMatch
# SUBSTR caseIgnoreSubstringsMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
-attributetype ( 2.5.4.42 NAME ( 'givenName' 'gn' ) SUP name )
+attributetype ( 2.5.4.42 NAME ( 'givenName' 'gn' )
+ DESC 'RFC2256: first name(s) for which the entity is known by'
+ SUP name )
-attributetype ( 2.5.4.43 NAME 'initials' SUP name
- DESC 'The initials attribute type contains the initials of some
- or all of an individuals names, but not the surname(s).' )
+attributetype ( 2.5.4.43 NAME 'initials'
+ DESC 'RFC2256: initials of some or all of names, but not the surname(s).'
+ SUP name )
-attributetype ( 2.5.4.44 NAME 'generationQualifier'
- DESC 'e.g. Jr or II.'
+attributetype ( 2.5.4.44 NAME 'generationQualifier'
+ DESC 'RFC2256: name qualifier indicating a generation'
SUP name )
attributetype ( 2.5.4.45 NAME 'x500UniqueIdentifier'
+ DESC 'RFC2256: X.500 unique identifier'
EQUALITY bitStringMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.6 )
attributetype ( 2.5.4.46 NAME 'dnQualifier'
+ DESC 'RFC2256: DN qualifier'
EQUALITY caseIgnoreMatch
ORDERING caseIgnoreOrderingMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 )
attributetype ( 2.5.4.47 NAME 'enhancedSearchGuide'
+ DESC 'RFC2256: enhanced search guide'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.21 )
attributetype ( 2.5.4.48 NAME 'protocolInformation'
+ DESC 'RFC2256: protocol information'
EQUALITY protocolInformationMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.42 )
-# 2.5.4.49 is defined above as it's used for subtyping
+# system schema
#attributetype ( 2.5.4.49 NAME 'distinguishedName'
# EQUALITY distinguishedNameMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
attributetype ( 2.5.4.50 NAME 'uniqueMember'
+ DESC 'RFC2256: unique member of a group'
EQUALITY uniqueMemberMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.34 )
attributetype ( 2.5.4.51 NAME 'houseIdentifier'
+ DESC 'RFC2256: house identifier'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
# Must be transferred using ;binary
attributetype ( 2.5.4.52 NAME 'supportedAlgorithms'
+ DESC 'RFC2256: supported algorithms'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.49 )
# Must be transferred using ;binary
attributetype ( 2.5.4.53 NAME 'deltaRevocationList'
+ DESC 'RFC2256: delta revocation list; use ;binary'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )
-attributetype ( 2.5.4.54 NAME 'dmdName' SUP name )
-
-# Standard object classes from RFC2256
+attributetype ( 2.5.4.54 NAME 'dmdName'
+ DESC 'RFC2256: name of DMD'
+ SUP name )
-objectclass ( 2.5.6.0 NAME 'top' ABSTRACT
- MUST objectClass )
+attributetype ( 2.5.4.65 NAME 'pseudonym'
+ DESC 'X.520(4th): pseudonym for the object'
+ SUP name )
-objectclass ( 2.5.6.1 NAME 'alias' SUP top STRUCTURAL
- MUST aliasedObjectName )
+# Standard object classes from RFC2256
-objectclass ( 2.5.6.2 NAME 'country' SUP top STRUCTURAL
+# system schema
+#objectclass ( 2.5.6.0 NAME 'top'
+# DESC 'RFC2256: top of the superclass chain'
+# ABSTRACT
+# MUST objectClass )
+
+# system schema
+#objectclass ( 2.5.6.1 NAME 'alias'
+# DESC 'RFC2256: an alias'
+# SUP top STRUCTURAL
+# MUST aliasedObjectName )
+
+objectclass ( 2.5.6.2 NAME 'country'
+ DESC 'RFC2256: a country'
+ SUP top STRUCTURAL
MUST c
MAY ( searchGuide $ description ) )
-objectclass ( 2.5.6.3 NAME 'locality' SUP top STRUCTURAL
+objectclass ( 2.5.6.3 NAME 'locality'
+ DESC 'RFC2256: a locality'
+ SUP top STRUCTURAL
MAY ( street $ seeAlso $ searchGuide $ st $ l $ description ) )
-objectclass ( 2.5.6.4 NAME 'organization' SUP top STRUCTURAL
+objectclass ( 2.5.6.4 NAME 'organization'
+ DESC 'RFC2256: an organization'
+ SUP top STRUCTURAL
MUST o
MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
x121Address $ registeredAddress $ destinationIndicator $
preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
- telephoneNumber $ internationaliSDNNumber $
+ telephoneNumber $ internationaliSDNNumber $
facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )
-objectclass ( 2.5.6.5 NAME 'organizationalUnit' SUP top STRUCTURAL
+objectclass ( 2.5.6.5 NAME 'organizationalUnit'
+ DESC 'RFC2256: an organizational unit'
+ SUP top STRUCTURAL
MUST ou
MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
x121Address $ registeredAddress $ destinationIndicator $
@@ -367,18 +402,24 @@ objectclass ( 2.5.6.5 NAME 'organizationalUnit' SUP top STRUCTURAL
facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )
-objectclass ( 2.5.6.6 NAME 'person' SUP top STRUCTURAL
+objectclass ( 2.5.6.6 NAME 'person'
+ DESC 'RFC2256: a person'
+ SUP top STRUCTURAL
MUST ( sn $ cn )
MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
-objectclass ( 2.5.6.7 NAME 'organizationalPerson' SUP person STRUCTURAL
+objectclass ( 2.5.6.7 NAME 'organizationalPerson'
+ DESC 'RFC2256: an organizational person'
+ SUP person STRUCTURAL
MAY ( title $ x121Address $ registeredAddress $ destinationIndicator $
preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
- telephoneNumber $ internationaliSDNNumber $
+ telephoneNumber $ internationaliSDNNumber $
facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) )
-objectclass ( 2.5.6.8 NAME 'organizationalRole' SUP top STRUCTURAL
+objectclass ( 2.5.6.8 NAME 'organizationalRole'
+ DESC 'RFC2256: an organizational role'
+ SUP top STRUCTURAL
MUST cn
MAY ( x121Address $ registeredAddress $ destinationIndicator $
preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
@@ -387,11 +428,15 @@ objectclass ( 2.5.6.8 NAME 'organizationalRole' SUP top STRUCTURAL
postOfficeBox $ postalCode $ postalAddress $
physicalDeliveryOfficeName $ ou $ st $ l $ description ) )
-objectclass ( 2.5.6.9 NAME 'groupOfNames' SUP top STRUCTURAL
+objectclass ( 2.5.6.9 NAME 'groupOfNames'
+ DESC 'RFC2256: a group of names (DNs)'
+ SUP top STRUCTURAL
MUST ( member $ cn )
MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) )
-objectclass ( 2.5.6.10 NAME 'residentialPerson' SUP person STRUCTURAL
+objectclass ( 2.5.6.10 NAME 'residentialPerson'
+ DESC 'RFC2256: an residential person'
+ SUP person STRUCTURAL
MUST l
MAY ( businessCategory $ x121Address $ registeredAddress $
destinationIndicator $ preferredDeliveryMethod $ telexNumber $
@@ -400,46 +445,64 @@ objectclass ( 2.5.6.10 NAME 'residentialPerson' SUP person STRUCTURAL
postOfficeBox $ postalCode $ postalAddress $
physicalDeliveryOfficeName $ st $ l ) )
-objectclass ( 2.5.6.11 NAME 'applicationProcess' SUP top STRUCTURAL
+objectclass ( 2.5.6.11 NAME 'applicationProcess'
+ DESC 'RFC2256: an application process'
+ SUP top STRUCTURAL
MUST cn
MAY ( seeAlso $ ou $ l $ description ) )
-objectclass ( 2.5.6.12 NAME 'applicationEntity' SUP top STRUCTURAL
+objectclass ( 2.5.6.12 NAME 'applicationEntity'
+ DESC 'RFC2256: an application entity'
+ SUP top STRUCTURAL
MUST ( presentationAddress $ cn )
MAY ( supportedApplicationContext $ seeAlso $ ou $ o $ l $
description ) )
-objectclass ( 2.5.6.13 NAME 'dSA' SUP applicationEntity STRUCTURAL
+objectclass ( 2.5.6.13 NAME 'dSA'
+ DESC 'RFC2256: a directory system agent (a server)'
+ SUP applicationEntity STRUCTURAL
MAY knowledgeInformation )
-objectclass ( 2.5.6.14 NAME 'device' SUP top STRUCTURAL
+objectclass ( 2.5.6.14 NAME 'device'
+ DESC 'RFC2256: a device'
+ SUP top STRUCTURAL
MUST cn
MAY ( serialNumber $ seeAlso $ owner $ ou $ o $ l $ description ) )
-objectclass ( 2.5.6.15 NAME 'strongAuthenticationUser' SUP top AUXILIARY
+objectclass ( 2.5.6.15 NAME 'strongAuthenticationUser'
+ DESC 'RFC2256: a strong authentication user'
+ SUP top AUXILIARY
MUST userCertificate )
-objectclass ( 2.5.6.16 NAME 'certificationAuthority' SUP top AUXILIARY
+objectclass ( 2.5.6.16 NAME 'certificationAuthority'
+ DESC 'RFC2256: a certificate authority'
+ SUP top AUXILIARY
MUST ( authorityRevocationList $ certificateRevocationList $
cACertificate ) MAY crossCertificatePair )
-objectclass ( 2.5.6.17 NAME 'groupOfUniqueNames' SUP top STRUCTURAL
+objectclass ( 2.5.6.17 NAME 'groupOfUniqueNames'
+ DESC 'RFC2256: a group of unique names (DN and Unique Identifier)'
+ SUP top STRUCTURAL
MUST ( uniqueMember $ cn )
MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) )
-objectclass ( 2.5.6.18 NAME 'userSecurityInformation' SUP top AUXILIARY
+objectclass ( 2.5.6.18 NAME 'userSecurityInformation'
+ DESC 'RFC2256: a user security information'
+ SUP top AUXILIARY
MAY ( supportedAlgorithms ) )
-objectclass ( 2.5.6.16.2 NAME 'certificationAuthority-V2' SUP
- certificationAuthority
+objectclass ( 2.5.6.16.2 NAME 'certificationAuthority-V2'
+ SUP certificationAuthority
AUXILIARY MAY ( deltaRevocationList ) )
-objectclass ( 2.5.6.19 NAME 'cRLDistributionPoint' SUP top STRUCTURAL
+objectclass ( 2.5.6.19 NAME 'cRLDistributionPoint'
+ SUP top STRUCTURAL
MUST ( cn )
MAY ( certificateRevocationList $ authorityRevocationList $
deltaRevocationList ) )
-objectclass ( 2.5.6.20 NAME 'dmd' SUP top STRUCTURAL
+objectclass ( 2.5.6.20 NAME 'dmd'
+ SUP top STRUCTURAL
MUST ( dmdName )
MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
x121Address $ registeredAddress $ destinationIndicator $
@@ -448,49 +511,47 @@ objectclass ( 2.5.6.20 NAME 'dmd' SUP top STRUCTURAL
street $ postOfficeBox $ postalCode $ postalAddress $
physicalDeliveryOfficeName $ st $ l $ description ) )
-objectclass ( 1.3.6.1.4.1.1466.101.120.111 NAME 'extensibleObject'
- DESC 'RFC2252: extensible object'
- SUP top AUXILIARY )
-
#
-# Standard Track URI label schema from RFC2079
+# Object Classes from RFC 2587
#
-attributetype ( 1.3.6.1.4.1.250.1.57 NAME 'labeledURI'
- DESC 'RFC2079: Uniform Resource Identifier with optional label'
- EQUALITY caseExactMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
+objectclass ( 2.5.6.21 NAME 'pkiUser'
+ DESC 'RFC2587: a PKI user'
+ SUP top AUXILIARY
+ MAY userCertificate )
-objectclass ( 1.3.6.1.4.1.250.3.15 NAME 'labeledURIObject'
- DESC 'RFC2079: object that contains the URI attribute type'
- MAY ( labeledURI )
- SUP top AUXILIARY )
+objectclass ( 2.5.6.22 NAME 'pkiCA'
+ DESC 'RFC2587: PKI certificate authority'
+ SUP top AUXILIARY
+ MAY ( authorityRevocationList $ certificateRevocationList $
+ cACertificate $ crossCertificatePair ) )
-#
-# Standard Track Dynamic Directory Services from RFC2589
-#
-objectclass ( 1.3.6.1.4.1.1466.101.119.2 NAME 'dynamicObject'
- DESC 'RFC2589: Dynamic Object'
- SUP top AUXILIARY )
+objectclass ( 2.5.6.23 NAME 'deltaCRL'
+ DESC 'RFC2587: PKI user'
+ SUP top AUXILIARY
+ MAY deltaRevocationList )
-attributetype ( 1.3.6.1.4.1.1466.101.119.3 NAME 'entryTtl'
- DESC 'RFC2589: entry time-to-live'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE
- NO-USER-MODIFICATION USAGE dSAOperation )
+#
+# Standard Track URI label schema from RFC 2079
+# system schema
+#attributetype ( 1.3.6.1.4.1.250.1.57 NAME 'labeledURI'
+# DESC 'RFC2079: Uniform Resource Identifier with optional label'
+# EQUALITY caseExactMatch
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
-attributetype ( 1.3.6.1.4.1.1466.101.119.4 NAME 'dynamicSubtrees'
- DESC 'RFC2589: dynamic subtrees'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 NO-USER-MODIFICATION
- USAGE dSAOperation )
+objectclass ( 1.3.6.1.4.1.250.3.15 NAME 'labeledURIObject'
+ DESC 'RFC2079: object that contains the URI attribute type'
+ SUP top AUXILIARY
+ MAY ( labeledURI ) )
#
-# Derived from RFC1274, but with new "short names"
+# Derived from RFC 1274, but with new "short names"
#
-attributetype ( 0.9.2342.19200300.100.1.1
- NAME ( 'uid' 'userid' )
- DESC 'RFC1274: user identifier'
- EQUALITY caseIgnoreMatch
- SUBSTR caseIgnoreSubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
+#attributetype ( 0.9.2342.19200300.100.1.1
+# NAME ( 'uid' 'userid' )
+# DESC 'RFC1274: user identifier'
+# EQUALITY caseIgnoreMatch
+# SUBSTR caseIgnoreSubstringsMatch
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
attributetype ( 0.9.2342.19200300.100.1.3
NAME ( 'mail' 'rfc822Mailbox' )
@@ -504,100 +565,48 @@ objectclass ( 0.9.2342.19200300.100.4.19 NAME 'simpleSecurityObject'
SUP top AUXILIARY
MUST userPassword )
-# RFC1274 + RFC2247
+# RFC 1274 + RFC 2247
attributetype ( 0.9.2342.19200300.100.1.25
NAME ( 'dc' 'domainComponent' )
DESC 'RFC1274/2247: domain component'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
-# RFC2247
+# RFC 2247
objectclass ( 1.3.6.1.4.1.1466.344 NAME 'dcObject'
DESC 'RFC2247: domain component object'
SUP top AUXILIARY MUST dc )
-
-# From RFC2377
+# RFC 2377
objectclass ( 1.3.6.1.1.3.1 NAME 'uidObject'
DESC 'RFC2377: uid object'
SUP top AUXILIARY MUST uid )
+# RFC 4524
+# The 'associatedDomain' attribute specifies DNS [RFC1034][RFC2181]
+# host names [RFC1123] that are associated with an object. That is,
+# values of this attribute should conform to the following ABNF:
#
-# From draft-zeilenga-ldap-nameref-00.txt
-# used to represent referrals in the directory
-#
-attributetype ( 2.16.840.1.113730.3.1.34 NAME 'ref'
- DESC 'Named referral'
- EQUALITY caseExactMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
- USAGE distributedOperation )
-
-objectclass ( 2.16.840.1.113730.3.2.6 NAME 'referral'
- DESC 'Named referral object'
- SUP top STRUCTURAL MUST ref )
-
-#
-# LDAPsubEntry
-# likely to change!
-objectclass ( 2.16.840.1.113719.2.142.6.1.1 NAME 'LDAPsubEntry'
- DESC 'LDAP Subentry'
- SUP top STRUCTURAL MAY cn )
-
-#
-# OpenLDAProotDSE
-# likely to change!
-objectclass ( 1.3.6.1.4.1.4203.1.4.1
- NAME ( 'OpenLDAProotDSE' 'LDAProotDSE' )
- DESC 'OpenLDAP Root DSE object'
- SUP top STRUCTURAL MAY cn )
-
-#
-# From Cosine Pilot
-#
-attributetype ( 0.9.2342.19200300.100.1.37 NAME 'associatedDomain'
+# domain = root / label *( DOT label )
+# root = SPACE
+# label = LETDIG [ *61( LETDIG / HYPHEN ) LETDIG ]
+# LETDIG = %x30-39 / %x41-5A / %x61-7A ; "0" - "9" / "A"-"Z" / "a"-"z"
+# SPACE = %x20 ; space (" ")
+# HYPHEN = %x2D ; hyphen ("-")
+# DOT = %x2E ; period (".")
+attributetype ( 0.9.2342.19200300.100.1.37
+ NAME 'associatedDomain'
+ DESC 'RFC1274: domain associated with object'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-#
-# From U-Mich
-#
-attributetype ( 1.3.6.1.4.1.250.1.32
- NAME ( 'krbName' 'kerberosName' )
- DESC 'Kerberos Name'
+# RFC 2459 -- deprecated in favor of 'mail' (in cosine.schema)
+attributetype ( 1.2.840.113549.1.9.1
+ NAME ( 'email' 'emailAddress' 'pkcs9email' )
+ DESC 'RFC3280: legacy attribute for email addresses in DNs'
EQUALITY caseIgnoreIA5Match
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
- SINGLE-VALUE )
-
-#
-# draft-zeilenga-ldap-features-xx.txt (supportedFeatures)
-#
-attributetype ( 1.3.6.1.4.1.4203.1.3.5
- NAME 'supportedFeatures'
- DESC 'features supported by the server'
- EQUALITY objectIdentifierMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.38
- USAGE dSAOperation )
+ SUBSTR caseIgnoreIA5SubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
-#
-# OpenLDAP specific schema items
-#
-attributetype ( 1.3.6.1.4.1.4203.1.3.1
- NAME 'entry'
- DESC 'OpenLDAP ACL entry pseudo-attribute'
- SYNTAX 1.3.6.1.4.1.4203.1.1.1
- SINGLE-VALUE NO-USER-MODIFICATION USAGE dSAOperation )
-
-attributetype ( 1.3.6.1.4.1.4203.1.3.2
- NAME 'children'
- DESC 'OpenLDAP ACL children pseudo-attribute'
- SYNTAX 1.3.6.1.4.1.4203.1.1.1
- SINGLE-VALUE NO-USER-MODIFICATION USAGE dSAOperation )
-
-attributetype ( 1.3.6.1.4.1.4203.666.1.5
- NAME 'OpenLDAPaci'
- DESC 'OpenLDAP access control information'
- EQUALITY OpenLDAPaciMatch
- SYNTAX 1.3.6.1.4.1.4203.666.2.1
- USAGE directoryOperation )
View
123 data/cosine.schema
@@ -1,4 +1,17 @@
-# $OpenLDAP: pkg/ldap/servers/slapd/schema/cosine.schema,v 1.6.2.4 2000/09/28 17:35:12 kurt Exp $
+# RFC1274: Cosine and Internet X.500 schema
+# $OpenLDAP$
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
+##
+## Copyright 1998-2012 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## <http://www.OpenLDAP.org/license.html>.
#
# RFC1274: Cosine and Internet X.500 schema
#
@@ -10,7 +23,7 @@
#
# Note: It seems that the pilot schema evolved beyond what was
# described in RFC1274. However, this document attempts to describes
-# RFC1274 as published.
+# RFC1274 as published.
#
# Depends on core.schema
@@ -149,6 +162,7 @@ attributetype ( 0.9.2342.19200300.100.1.2 NAME 'textEncodedORAddress'
# ::= {pilotAttributeType 4}
#
attributetype ( 0.9.2342.19200300.100.1.4 NAME 'info'
+ DESC 'RFC1274: general information'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{2048} )
@@ -167,6 +181,7 @@ attributetype ( 0.9.2342.19200300.100.1.4 NAME 'info'
#
attributetype ( 0.9.2342.19200300.100.1.5
NAME ( 'drink' 'favouriteDrink' )
+ DESC 'RFC1274: favorite drink'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -184,6 +199,7 @@ attributetype ( 0.9.2342.19200300.100.1.5
# ::= {pilotAttributeType 6}
#
attributetype ( 0.9.2342.19200300.100.1.6 NAME 'roomNumber'
+ DESC 'RFC1274: room number'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -207,6 +223,7 @@ attributetype ( 0.9.2342.19200300.100.1.6 NAME 'roomNumber'
# ::= {pilotAttributeType 7}
#
attributetype ( 0.9.2342.19200300.100.1.7 NAME 'photo'
+ DESC 'RFC1274: photo (G3 fax)'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.23{25000} )
# 9.3.8. User Class
@@ -225,6 +242,7 @@ attributetype ( 0.9.2342.19200300.100.1.7 NAME 'photo'
# ::= {pilotAttributeType 8}
#
attributetype ( 0.9.2342.19200300.100.1.8 NAME 'userClass'
+ DESC 'RFC1274: category of user'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -240,6 +258,7 @@ attributetype ( 0.9.2342.19200300.100.1.8 NAME 'userClass'
# ::= {pilotAttributeType 9}
#
attributetype ( 0.9.2342.19200300.100.1.9 NAME 'host'
+ DESC 'RFC1274: host computer'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -255,6 +274,7 @@ attributetype ( 0.9.2342.19200300.100.1.9 NAME 'host'
# ::= {pilotAttributeType 10}
#
attributetype ( 0.9.2342.19200300.100.1.10 NAME 'manager'
+ DESC 'RFC1274: DN of manager'
EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
@@ -270,6 +290,7 @@ attributetype ( 0.9.2342.19200300.100.1.10 NAME 'manager'
# ::= {pilotAttributeType 11}
#
attributetype ( 0.9.2342.19200300.100.1.11 NAME 'documentIdentifier'
+ DESC 'RFC1274: unique identifier of document'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -285,6 +306,7 @@ attributetype ( 0.9.2342.19200300.100.1.11 NAME 'documentIdentifier'
# ::= {pilotAttributeType 12}
#
attributetype ( 0.9.2342.19200300.100.1.12 NAME 'documentTitle'
+ DESC 'RFC1274: title of document'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -301,6 +323,7 @@ attributetype ( 0.9.2342.19200300.100.1.12 NAME 'documentTitle'
# ::= {pilotAttributeType 13}
#
attributetype ( 0.9.2342.19200300.100.1.13 NAME 'documentVersion'
+ DESC 'RFC1274: version of document'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -316,6 +339,7 @@ attributetype ( 0.9.2342.19200300.100.1.13 NAME 'documentVersion'
# ::= {pilotAttributeType 14}
#
attributetype ( 0.9.2342.19200300.100.1.14 NAME 'documentAuthor'
+ DESC 'RFC1274: DN of author of document'
EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
@@ -331,6 +355,7 @@ attributetype ( 0.9.2342.19200300.100.1.14 NAME 'documentAuthor'
# ::= {pilotAttributeType 15}
#
attributetype ( 0.9.2342.19200300.100.1.15 NAME 'documentLocation'
+ DESC 'RFC1274: location of document original'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -349,6 +374,7 @@ attributetype ( 0.9.2342.19200300.100.1.15 NAME 'documentLocation'
#
attributetype ( 0.9.2342.19200300.100.1.20
NAME ( 'homePhone' 'homeTelephoneNumber' )
+ DESC 'RFC1274: home telephone number'
EQUALITY telephoneNumberMatch
SUBSTR telephoneNumberSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 )
@@ -364,6 +390,7 @@ attributetype ( 0.9.2342.19200300.100.1.20
# ::= {pilotAttributeType 21}
#
attributetype ( 0.9.2342.19200300.100.1.21 NAME 'secretary'
+ DESC 'RFC1274: DN of secretary'
EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
@@ -394,9 +421,12 @@ attributetype ( 0.9.2342.19200300.100.1.22 NAME 'otherMailbox'
# uTCTimeSyntax
# ::= {pilotAttributeType 23}
#
-## OBSOLETE
-attributetype ( 0.9.2342.19200300.100.1.23 NAME 'lastModifiedTime'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.53 )
+## Deprecated in favor of modifyTimeStamp
+#attributetype ( 0.9.2342.19200300.100.1.23 NAME 'lastModifiedTime'
+# DESC 'RFC1274: time of last modify, replaced by modifyTimestamp'
+# OBSOLETE
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.53
+# USAGE directoryOperation )
# 9.3.20. Last Modified By
#
@@ -409,11 +439,13 @@ attributetype ( 0.9.2342.19200300.100.1.23 NAME 'lastModifiedTime'
# distinguishedNameSyntax
# ::= {pilotAttributeType 24}
#
-
-## OBSOLETE
-attributetype ( 0.9.2342.19200300.100.1.24 NAME 'lastModifiedBy'
- EQUALITY distinguishedNameMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
+## Deprecated in favor of modifiersName
+#attributetype ( 0.9.2342.19200300.100.1.24 NAME 'lastModifiedBy'
+# DESC 'RFC1274: last modifier, replaced by modifiersName'
+# OBSOLETE
+# EQUALITY distinguishedNameMatch
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
+# USAGE directoryOperation )
# 9.3.21. Domain Component
#
@@ -544,6 +576,7 @@ attributetype ( 0.9.2342.19200300.100.1.31 NAME 'cNAMERecord'
# ::= {pilotAttributeType 38}
#
attributetype ( 0.9.2342.19200300.100.1.38 NAME 'associatedName'
+ DESC 'RFC1274: DN of entry associated with domain'
EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
@@ -560,6 +593,7 @@ attributetype ( 0.9.2342.19200300.100.1.38 NAME 'associatedName'
# ::= {pilotAttributeType 39}
#
attributetype ( 0.9.2342.19200300.100.1.39 NAME 'homePostalAddress'
+ DESC 'RFC1274: home postal address'
EQUALITY caseIgnoreListMatch
SUBSTR caseIgnoreListSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )
@@ -576,6 +610,7 @@ attributetype ( 0.9.2342.19200300.100.1.39 NAME 'homePostalAddress'
# ::= {pilotAttributeType 40}
#
attributetype ( 0.9.2342.19200300.100.1.40 NAME 'personalTitle'
+ DESC 'RFC1274: personal title'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -594,6 +629,7 @@ attributetype ( 0.9.2342.19200300.100.1.40 NAME 'personalTitle'
#
attributetype ( 0.9.2342.19200300.100.1.41
NAME ( 'mobile' 'mobileTelephoneNumber' )
+ DESC 'RFC1274: mobile telephone number'
EQUALITY telephoneNumberMatch
SUBSTR telephoneNumberSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 )
@@ -611,6 +647,7 @@ attributetype ( 0.9.2342.19200300.100.1.41
#
attributetype ( 0.9.2342.19200300.100.1.42
NAME ( 'pager' 'pagerTelephoneNumber' )
+ DESC 'RFC1274: pager telephone number'
EQUALITY telephoneNumberMatch
SUBSTR telephoneNumberSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 )
@@ -628,6 +665,7 @@ attributetype ( 0.9.2342.19200300.100.1.42
#
attributetype ( 0.9.2342.19200300.100.1.43
NAME ( 'co' 'friendlyCountryName' )
+ DESC 'RFC1274: friendly country name'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
@@ -648,6 +686,7 @@ attributetype ( 0.9.2342.19200300.100.1.43
# ::= {pilotAttributeType 44}
#
attributetype ( 0.9.2342.19200300.100.1.44 NAME 'uniqueIdentifier'
+ DESC 'RFC1274: unique identifer'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -668,6 +707,7 @@ attributetype ( 0.9.2342.19200300.100.1.44 NAME 'uniqueIdentifier'
# ::= {pilotAttributeType 45}
#
attributetype ( 0.9.2342.19200300.100.1.45 NAME 'organizationalStatus'
+ DESC 'RFC1274: organizational status'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -688,6 +728,7 @@ attributetype ( 0.9.2342.19200300.100.1.45 NAME 'organizationalStatus'
# ::= {pilotAttributeType 46}
#
attributetype ( 0.9.2342.19200300.100.1.46 NAME 'janetMailbox'
+ DESC 'RFC1274: Janet mailbox'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
@@ -719,6 +760,7 @@ attributetype ( 0.9.2342.19200300.100.1.46 NAME 'janetMailbox'
#
attributetype ( 0.9.2342.19200300.100.1.47
NAME 'mailPreferenceOption'
+ DESC 'RFC1274: mail preference option'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
# 9.3.38. Building Name
@@ -733,6 +775,7 @@ attributetype ( 0.9.2342.19200300.100.1.47
# ::= {pilotAttributeType 48}
#
attributetype ( 0.9.2342.19200300.100.1.48 NAME 'buildingName'
+ DESC 'RFC1274: name of building'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
@@ -749,6 +792,7 @@ attributetype ( 0.9.2342.19200300.100.1.48 NAME 'buildingName'
# ::= {pilotAttributeType 49}
#
attributetype ( 0.9.2342.19200300.100.1.49 NAME 'dSAQuality'
+ DESC 'RFC1274: DSA Quality'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.19 SINGLE-VALUE )
# 9.3.40. Single Level Quality
@@ -763,6 +807,7 @@ attributetype ( 0.9.2342.19200300.100.1.49 NAME 'dSAQuality'
# ::= {pilotAttributeType 50}
#
attributetype ( 0.9.2342.19200300.100.1.50 NAME 'singleLevelQuality'
+ DESC 'RFC1274: Single Level Quality'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.13 SINGLE-VALUE )
# 9.3.41. Subtree Minimum Quality
@@ -778,6 +823,7 @@ attributetype ( 0.9.2342.19200300.100.1.50 NAME 'singleLevelQuality'
# ::= {pilotAttributeType 51}
#
attributetype ( 0.9.2342.19200300.100.1.51 NAME 'subtreeMinimumQuality'
+ DESC 'RFC1274: Subtree Mininum Quality'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.13 SINGLE-VALUE )
# 9.3.42. Subtree Maximum Quality
@@ -793,6 +839,7 @@ attributetype ( 0.9.2342.19200300.100.1.51 NAME 'subtreeMinimumQuality'
# ::= {pilotAttributeType 52}
#
attributetype ( 0.9.2342.19200300.100.1.52 NAME 'subtreeMaximumQuality'
+ DESC 'RFC1274: Subtree Maximun Quality'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.13 SINGLE-VALUE )
# 9.3.43. Personal Signature
@@ -814,6 +861,7 @@ attributetype ( 0.9.2342.19200300.100.1.52 NAME 'subtreeMaximumQuality'
# ::= {pilotAttributeType 53}
#
attributetype ( 0.9.2342.19200300.100.1.53 NAME 'personalSignature'
+ DESC 'RFC1274: Personal Signature (G3 fax)'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.23 )
# 9.3.44. DIT Redirect
@@ -831,8 +879,9 @@ attributetype ( 0.9.2342.19200300.100.1.53 NAME 'personalSignature'
# ::= {pilotAttributeType 54}
#
attributetype ( 0.9.2342.19200300.100.1.54 NAME 'dITRedirect'
- EQUALITY distinguishedNameMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
+ DESC 'RFC1274: DIT Redirect'
+ EQUALITY distinguishedNameMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
# 9.3.45. Audio
#
@@ -847,7 +896,8 @@ attributetype ( 0.9.2342.19200300.100.1.54 NAME 'dITRedirect'
# ::= {pilotAttributeType 55}
#
attributetype ( 0.9.2342.19200300.100.1.55 NAME 'audio'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.4{25000} )
+ DESC 'RFC1274: audio (u-law)'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.4{25000} )
# 9.3.46. Publisher of Document
#
@@ -860,6 +910,7 @@ attributetype ( 0.9.2342.19200300.100.1.55 NAME 'audio'
# ::= {pilotAttributeType 56}
#
attributetype ( 0.9.2342.19200300.100.1.56 NAME 'documentPublisher'
+ DESC 'RFC1274: publisher of document'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
@@ -983,11 +1034,12 @@ attributetype ( 0.9.2342.19200300.100.1.56 NAME 'documentPublisher'
# audio}
# ::= {pilotObjectClass 3}
#
-objectclass ( 0.9.2342.19200300.100.4.3 NAME 'pilotObject'
- SUP top AUXILIARY
- MAY ( info $ photo $ manager $ uniqueIdentifier $
- lastModifiedTime $ lastModifiedBy $ dITRedirect $ audio )
- )
+#objectclass ( 0.9.2342.19200300.100.4.3 NAME 'pilotObject'
+# DESC 'RFC1274: pilot object'
+# SUP top AUXILIARY
+# MAY ( info $ photo $ manager $ uniqueIdentifier $
+# lastModifiedTime $ lastModifiedBy $ dITRedirect $ audio )
+# )
# 8.3.2. Pilot Person
#
@@ -1155,20 +1207,18 @@ objectclass ( 0.9.2342.19200300.100.4.9 NAME 'documentSeries'
# organizationalAttributeSet}
# ::= {pilotObjectClass 13}
#
-## from RFC 2247, we presume that organizationalAttributeSet
-## should be expanded as below.
objectclass ( 0.9.2342.19200300.100.4.13 NAME 'domain'
SUP top STRUCTURAL
MUST domainComponent
- MAY ( userPassword $ searchGuide $ seeAlso $
- businessCategory $ x121Address $ registeredAddress $
- destinationIndicator $ preferredDeliveryMethod $
- telexNumber $ teletexTerminalIdentifier $
- telephoneNumber $ internationaliSDNNumber $
- facsimileTelephoneNumber $ street $ postOfficeBox $
- postalCode $ postalAddress $
- physicalDeliveryOfficeName $
- stateOrProvinceName $ localityName $ description )
+ MAY ( associatedName $ organizationName $ description $
+ businessCategory $ seeAlso $ searchGuide $ userPassword $
+ localityName $ stateOrProvinceName $ streetAddress $
+ physicalDeliveryOfficeName $ postalAddress $ postalCode $
+ postOfficeBox $ streetAddress $
+ facsimileTelephoneNumber $ internationalISDNNumber $
+ telephoneNumber $ teletexTerminalIdentifier $ telexNumber $
+ preferredDeliveryMethod $ destinationIndicator $
+ registeredAddress $ x121Address )
)
# 8.3.8. RFC822 Local Part
@@ -1190,11 +1240,15 @@ objectclass ( 0.9.2342.19200300.100.4.13 NAME 'domain'
# telecommunicationAttributeSet}
# ::= {pilotObjectClass 14}
#
-## not sure what to expand postalAttributeSet and
-## telecommunitionAttributeSet to, so they are trimmed
objectclass ( 0.9.2342.19200300.100.4.14 NAME 'RFC822localPart'
SUP domain STRUCTURAL
- MAY ( commonName $ surname $ description $ seeAlso $ telephonenumber )
+ MAY ( commonName $ surname $ description $ seeAlso $ telephoneNumber $
+ physicalDeliveryOfficeName $ postalAddress $ postalCode $
+ postOfficeBox $ streetAddress $
+ facsimileTelephoneNumber $ internationalISDNNumber $
+ telephoneNumber $ teletexTerminalIdentifier $
+ telexNumber $ preferredDeliveryMethod $ destinationIndicator $
+ registeredAddress $ x121Address )
)
# 8.3.9. DNS Domain
@@ -1215,8 +1269,8 @@ objectclass ( 0.9.2342.19200300.100.4.14 NAME 'RFC822localPart'
# ::= {pilotObjectClass 15}
#
objectclass ( 0.9.2342.19200300.100.4.15 NAME 'dNSDomain'
- SUP 'domain' STRUCTURAL
- MAY ( ARecord $ MDRecord $ MXRecord $ NSRecord $
+ SUP domain STRUCTURAL
+ MAY ( ARecord $ MDRecord $ MXRecord $ NSRecord $
SOARecord $ CNAMERecord )
)
@@ -1234,6 +1288,7 @@ objectclass ( 0.9.2342.19200300.100.4.15 NAME 'dNSDomain'
# ::= {pilotObjectClass 17}
#
objectclass ( 0.9.2342.19200300.100.4.17 NAME 'domainRelatedObject'
+ DESC 'RFC1274: an object related to an domain'
SUP top AUXILIARY
MUST associatedDomain )
View
31 data/inetorgperson.schema
@@ -1,17 +1,30 @@
-# $OpenLDAP: pkg/ldap/servers/slapd/schema/inetorgperson.schema,v 1.4.2.5 2000/11/04 21:35:00 kurt Exp $
+# inetorgperson.schema -- InetOrgPerson (RFC2798)
+# $OpenLDAP$
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
+##
+## Copyright 1998-2012 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## <http://www.OpenLDAP.org/license.html>.
#
# InetOrgPerson (RFC2798)
#
# Depends upon
# Definition of an X.500 Attribute Type and an Object Class to Hold
# Uniform Resource Identifiers (URIs) [RFC2079]
# (core.schema)
-#
+#
# A Summary of the X.500(96) User Schema for use with LDAPv3 [RFC2256]
# (core.schema)
#
# The COSINE and Internet X.500 Schema [RFC1274] (cosine.schema)
-
+
# carLicense
# This multivalued field is used to record the values of the license or
# registration plate associated with an individual.
@@ -39,8 +52,7 @@ attributetype ( 2.16.840.1.113730.3.1.2
# needed. Display name is defined for this purpose.
attributetype ( 2.16.840.1.113730.3.1.241
NAME 'displayName'
- DESC 'RFC2798: preferred name of a person to be used
- when displaying entries'
+ DESC 'RFC2798: preferred name to be used when displaying entries'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
@@ -73,10 +85,10 @@ attributetype ( 2.16.840.1.113730.3.1.4
# Interchange Format [JFIF].
# Note that the jpegPhoto attribute type was defined for use in the
# Internet X.500 pilots but no referencable definition for it could be
-# located.
+# located.
attributetype ( 0.9.2342.19200300.100.1.60
NAME 'jpegPhoto'
- DESC 'a JPEG image'
+ DESC 'RFC2798: a JPEG image'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 )
# preferredLanguage
@@ -119,8 +131,7 @@ attributetype ( 2.16.840.1.113730.3.1.40
## OpenLDAP note: ";binary" transfer should NOT be used as syntax is binary
attributetype ( 2.16.840.1.113730.3.1.216
NAME 'userPKCS12'
- DESC 'RFC2798: PKCS #12 PFX PDU for exchange of
- personal identity information'
+ DESC 'RFC2798: personal identity information, a PKCS #12 PFX'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
@@ -141,4 +152,4 @@ objectclass ( 2.16.840.1.113730.3.2.2
photo $ roomNumber $ secretary $ uid $ userCertificate $
x500uniqueIdentifier $ preferredLanguage $
userSMIMECertificate $ userPKCS12 )
- )
+ )
View
54 data/openldap.schema
@@ -0,0 +1,54 @@
+# $OpenLDAP$
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
+##
+## Copyright 1998-2012 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## <http://www.OpenLDAP.org/license.html>.
+
+#
+# OpenLDAP Project's directory schema items
+#
+# depends upon:
+# core.schema
+# cosine.schema
+# inetorgperson.schema
+#
+# These are provided for informational purposes only.
+
+objectIdentifier OpenLDAProot 1.3.6.1.4.1.4203
+
+objectIdentifier OpenLDAP OpenLDAProot:1
+objectIdentifier OpenLDAPattributeType OpenLDAP:3
+objectIdentifier OpenLDAPobjectClass OpenLDAP:4
+
+objectClass ( OpenLDAPobjectClass:3
+ NAME 'OpenLDAPorg'
+ DESC 'OpenLDAP Organizational Object'
+ SUP organization
+ MAY ( buildingName $ displayName $ labeledURI ) )
+
+objectClass ( OpenLDAPobjectClass:4
+ NAME 'OpenLDAPou'
+ DESC 'OpenLDAP Organizational Unit Object'
+ SUP organizationalUnit
+ MAY ( buildingName $ displayName $ labeledURI $ o ) )
+
+objectClass ( OpenLDAPobjectClass:5
+ NAME 'OpenLDAPperson'
+ DESC 'OpenLDAP Person'
+ SUP ( pilotPerson $ inetOrgPerson )
+ MUST ( uid $ cn )
+ MAY ( givenName $ labeledURI $ o ) )
+
+objectClass ( OpenLDAPobjectClass:6
+ NAME 'OpenLDAPdisplayableObject'
+ DESC 'OpenLDAP Displayable Object'
+ AUXILIARY
+ MAY displayName )
View
19 data/slapd-conf.in
@@ -1,19 +0,0 @@
-#
-# master slapd config -- for testing
-#
-include ./data/slapd.at.conf
-include ./data/slapd.oc.conf
-schemacheck off
-
-#######################################################################
-# ldbm database definitions
-#######################################################################
-
-database ldbm
-suffix "$BASEDN"
-directory $TESTDB
-rootdn "$MANAGERDN"
-rootpw $PASSWD
-index cn,sn,uid pres,eq,approx
-index default none
-lastmod on
View
23 data/slapd.at.conf
@@ -1,23 +0,0 @@
-attribute photo bin
-attribute personalsignature bin
-attribute jpegphoto bin
-attribute audio bin
-attribute labeledurl ces
-attribute userpassword ces
-attribute telephonenumber tel
-attribute facsimiletelephonenumber fax tel
-attribute pagertelephonenumber pager tel
-attribute homephone tel
-attribute mobiletelephonenumber mobile tel
-attribute aliasedObjectName dn
-attribute member dn
-attribute owner dn
-attribute seealso dn
-attribute manager dn
-attribute documentauthor dn
-attribute secretary dn
-attribute lastmodifiedby dn
-attribute associatedname dn
-attribute naminglink dn
-attribute reciprocalnaminglink dn
-attribute dn dn
View
45 data/slapd.conf.in
@@ -0,0 +1,45 @@
+#
+# slapd config -- for perl-ldap testing
+#
+
+# load schema files
+include $SLAPD_SCHEMA_DIR/core.schema
+include $SLAPD_SCHEMA_DIR/cosine.schema
+include $SLAPD_SCHEMA_DIR/inetorgperson.schema
+include $SLAPD_SCHEMA_DIR/openldap.schema
+
+# get required dynmaic modules
+#modulepath $SLAPD_MODULE_DIR
+#moduleload back_$SLAPD_DB
+
+# PID & args file
+pidfile $TESTDB/slapd.pid
+argsfile $TESTDB/slapd.args
+
+# TLS info
+TLSCertificateFile ./data/cert.pem
+TLSCertificateKeyFile ./data/key.pem
+
+#password-hash {CLEARTEXT}
+
+# SASL info
+#sasl-host localhost
+#sasl-realm testing
+#sasl-secprops passcred
+#sasl-secprops noanonymous
+sasl-secprops none
+sasl-regexp "uid=(.*),cn=.*,cn=auth" "cn=$1,o=University of Michigan,c=US"
+
+
+#######################################################################
+# database definitions
+#######################################################################
+
+database $SLAPD_DB
+suffix "$BASEDN"
+directory $TESTDB
+
+rootdn "$MANAGERDN"
+rootpw $PASSWD
+
+# EOF
View
903 data/slapd.oc.conf
@@ -1,903 +0,0 @@
-objectclass top
- requires
- objectClass
-
-objectclass alias
- requires
- aliasedObjectName,
- objectClass
-
-objectclass country
- requires
- objectClass,
- c
- allows
- searchGuide,
- description
-
-objectclass locality
- requires
- objectClass
- allows
- description,
- l,
- searchGuide,
- seeAlso,
- st,
- streetAddress
-
-objectclass organization
- requires
- objectClass,
- o
- allows
- businessCategory,
- description,
- destinationIndicator,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- l,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- searchGuide,
- seeAlso,
- st,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- userPassword,
- x121Address
-
-objectclass organizationalUnit
- requires
- objectClass,
- ou
- allows
- businessCategory,
- description,
- destinationIndicator,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- l,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- searchGuide,
- seeAlso,
- st,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- userPassword,
- x121Address
-
-objectclass person
- requires
- objectClass,
- sn,
- cn
- allows
- description,
- seeAlso,
- telephoneNumber,
- userPassword
-
-objectclass organizationalPerson
- requires
- objectClass,
- sn,
- cn
- allows
- description,
- destinationIndicator,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- l,
- ou,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- seeAlso,
- st,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- title,
- userPassword,
- x121Address
-
-objectclass organizationalRole
- requires
- objectClass,
- cn
- allows
- description,
- destinationIndicator,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- l,
- ou,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- roleOccupant,
- seeAlso,
- st,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- x121Address
-
-objectclass groupOfNames
- requires
- objectClass,
- member,
- cn
- allows
- businessCategory,
- description,
- o,
- ou,
- owner,
- seeAlso
-
-objectclass residentialPerson
- requires
- objectClass,
- sn,
- cn,
- l
- allows
- businessCategory,
- description,
- destinationIndicator,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- l,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- seeAlso,
- st,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- userPassword,
- x121Address
-
-objectclass applicationProcess
- requires
- objectClass,
- cn
- allows
- description,
- l,
- ou,
- seeAlso
-
-objectclass applicationEntity
- requires
- objectClass,
- presentationAddress,
- cn
- allows
- description,
- l,
- o,
- ou,
- seeAlso,
- supportedApplicationContext
-
-objectclass dSA
- requires
- objectClass,
- presentationAddress,
- cn
- allows
- knowledgeInformation
-
-objectclass device
- requires
- objectClass,
- cn
- allows
- description,
- l,
- o,
- ou,
- owner,
- seeAlso,
- serialNumber
-
-objectclass strongAuthenticationUser
- requires
- objectClass,
- userCertificate
-
-objectclass certificationAuthority
- requires
- objectClass,
- authorityRevocationList,
- certificateRevocationList,
- cACertificate
- allows
- crossCertificatePair
-
-objectclass pilotObject
- requires
- objectClass
- allows
- audio,
- dITRedirect,
- info,
- jpegPhoto,
- lastModifiedBy,
- lastModifiedTime,
- manager,
- photo,
- uniqueIdentifier
-
-objectclass newPilotPerson
- requires
- objectClass,
- sn,
- cn
- allows
- businessCategory,
- description,
- drink,
- homePhone,
- homePostalAddress,
- janetMailbox,
- mail,
- mailPreferenceOption,
- mobile,
- organizationalStatus,
- otherMailbox,
- pager,
- personalSignature,
- personalTitle,
- preferredDeliveryMethod,
- roomNumber,
- secretary,
- seeAlso,
- telephoneNumber,
- textEncodedORaddress,
- uid,
- userClass,
- userPassword
-
-objectclass account
- requires
- objectClass,
- uid
- allows
- description,
- host,
- l,
- o,
- ou,
- seeAlso
-
-objectclass document
- requires
- objectClass,
- documentIdentifier
- allows
- abstract,
- audio,
- authorCN,
- authorSN,
- cn,
- dITRedirect,
- description,
- documentAuthor,
- documentLocation,
- documentPublisher,
- documentStore,
- documentTitle,
- documentVersion,
- info,
- jpegPhoto,
- keywords,
- l,
- lastModifiedBy,
- lastModifiedTime,
- manager,
- o,
- obsoletedByDocument,
- obsoletesDocument,
- ou,
- photo,
- seeAlso,
- subject,
- uniqueIdentifier,
- updatedByDocument,
- updatesDocument
-
-objectclass room
- requires
- objectClass,
- cn
- allows
- description,
- roomNumber,
- seeAlso,
- telephoneNumber
-
-objectclass documentSeries
- requires
- objectClass,
- cn
- allows
- description,
- l,
- o,
- ou,
- seeAlso,
- telephoneNumber
-
-objectclass domain
- requires
- objectClass,
- dc
- allows
- associatedName,
- businessCategory,
- description,
- destinationIndicator,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- l,
- o,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- searchGuide,
- seeAlso,
- st,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- userPassword,
- x121Address
-
-objectclass rFC822localPart
- requires
- objectClass,
- dc
- allows
- associatedName,
- businessCategory,
- cn,
- description,
- destinationIndicator,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- l,
- o,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- searchGuide,
- seeAlso,
- sn,
- st,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- userPassword,
- x121Address
-
-objectclass dNSDomain
- requires
- objectClass,
- dc
- allows
- associatedName,
- businessCategory,
- dNSRecord,
- description,
- destinationIndicator,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- l,
- o,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- searchGuide,
- seeAlso,
- st,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- userPassword,
- x121Address
-
-objectclass domainRelatedObject
- requires
- objectClass,
- associatedDomain
-
-objectclass friendlyCountry
- requires
- objectClass,
- c,
- co
- allows
- description,
- searchGuide
-
-objectclass simpleSecurityObject
- requires
- objectClass,
- userPassword
-
-objectclass pilotOrganization
- requires
- objectClass,
- ou,
- o
- allows
- buildingName,
- businessCategory,
- description,
- destinationIndicator,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- l,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- searchGuide,
- seeAlso,
- st,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- userPassword,
- x121Address
-
-objectclass nadfObject
- requires
- objectClass
- allows
- lastModifiedTime,
- nadfSearchGuide,
- supplementaryInformation
-
-objectclass usStateOrEquivalent
- requires
- objectClass,
- st,
- fipsStateAlphaCode,
- fipsStateNumericCode,
- l
- allows
- description,
- lastModifiedTime,
- nadfSearchGuide,
- searchGuide,
- seeAlso,
- streetAddress,
- supplementaryInformation
-
-objectclass usPlace
- requires
- objectClass,
- fips55,
- l
- allows
- description,
- lastModifiedTime,
- nadfSearchGuide,
- searchGuide,
- seeAlso,
- st,
- streetAddress,
- supplementaryInformation
-
-objectclass usCountyOrEquivalent
- requires
- objectClass,
- fipsCountyNumericCode,
- fips55,
- l
- allows
- description,
- lastModifiedTime,
- nadfSearchGuide,
- searchGuide,
- seeAlso,
- st,
- streetAddress,
- supplementaryInformation
-
-objectclass ansiOrgObject
- requires
- objectClass,
- ansiOrgNumericCode
-
-objectclass nadfApplicationEntity
- requires
- objectClass,
- supportedApplicationContext,
- presentationAddress,
- cn
- allows
- description,
- l,
- o,
- ou,
- seeAlso,
- supportedApplicationContext
-
-objectclass nadfADDMD
- requires
- objectClass,
- ad
- allows
- businessCategory,
- description,
- destinationIndicator,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- l,
- lastModifiedTime,
- nadfSearchGuide,
- o,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- searchGuide,
- seeAlso,
- st,
- streetAddress,
- supplementaryInformation,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- userPassword,
- x121Address
-
-objectclass publicObject
- requires
- objectClass,
- namingLink
-
-objectclass providerObject
- requires
- objectClass,
- reciprocalNamingLink
-
-objectclass nationalObject
- requires
- objectClass,
- c
-
-objectclass fips55Object
- requires
- objectClass,
- fips55
- allows
- st
-
-objectclass restaurant
- requires
- objectClass,
- description,
- telephoneNumber,
- streetAddress
- allows
- Ambiance,
- Appearance,
- Average-price,
- Closed,
- CreditCardsAccepted,
- Kosher,
- Max-price,
- MaximumInParty,
- Min-price,
- Music,
- NotRecommended,
- OutdoorSeating,
- Parking,
- QualityOfService,
- QualityPriceRatio,
- Recommended,
- RecommendedBy,
- Reservation,
- ServiceSpeed,
- Specialty,
- Taux-de-frequentation,
- TransportationMeans,
- facsimileTelephoneNumber,
- postalAddress
-
-objectclass kerberosSecurityObject
- requires
- objectClass,
- krbName
-
-objectclass umichPerson
- requires
- objectClass,
- sn,
- cn,
- universityID
- allows
- affiliationCode,
- audio,
- businessCategory,
- classStanding,
- description,
- destinationIndicator,
- doNotDelete,
- doNotMove,
- drink,
- expire,
- facsimileTelephoneNumber,
- homePhone,
- homePostalAddress,
- internationaliSDNNumber,
- janetMailbox,
- jpegPhoto,
- keepNames,
- krbName,
- l,
- labeledURL,
- mail,
- mailPreferenceOption,
- memberOfGroup,
- mobile,
- multiLineDescription,
- noBatchUpdates,
- notRegistered,
- notice,
- onVacation,
- organizationalStatus,
- otherMailbox,
- ou,
- pager,
- personalSignature,
- personalTitle,
- photo,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- proxy,
- registeredAddress,
- registrationStatus,
- roomNumber,
- secretary,
- seeAlso,
- st,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- textEncodedORaddress,
- title,
- uid,
- updateSource,
- userCertificate,
- userClass,
- userPassword,
- vacationMessage,
- x121Address,
- xacl
-
-objectclass rfc822MailGroup
- requires
- objectClass,
- owner,
- cn
- allows
- associatedDomain,
- autoMgt,
- description,
- destinationIndicator,
- errorsTo,
- facsimileTelephoneNumber,
- internationaliSDNNumber,
- joinable,
- krbName,
- labeledURL,
- mail,
- member,
- memberOfGroup,
- moderator,
- multiLineDescription,
- notice,
- physicalDeliveryOfficeName,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- registeredAddress,
- requestsTo,
- rfc822ErrorsTo,
- rfc822RequestsTo,
- seeAlso,
- streetAddress,
- suppressNoEmailError,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- userPassword,
- x121Address,
- xacl
-
-objectclass image
- requires
- objectClass,
- cn
- allows
- citation,
- copyright,
- imageFiles,
- jpegPhoto,
- keywords,
- multiLineDescription,
- owner,
- predominantColor
-
-objectclass imageFile
- requires
- objectClass,
- cn
- allows
- colorDepth,
- documentLocation,
- fileFormat,
- fileSize,
- height,
- resolution,
- seeAlso,
- width
-
-objectclass service
- requires
- objectClass,
- cn
- allows
- category,
- dependentUpon,
- destinationIndicator,
- facsimileTelephoneNumber,
- hoursOfOperation,
- internationaliSDNNumber,
- jpegPhoto,
- keywords,
- labeledURL,
- mail,
- multiLineDescription,
- owner,
- physicalDeliveryOfficeName,
- platform,
- postOfficeBox,
- postalAddress,
- postalCode,
- preferredDeliveryMethod,
- product,
- provider,
- ratingDescription,
- ratingTime,
- registeredAddress,
- seeAlso,
- serviceArea,
- serviceRating,
- streetAddress,
- telephoneNumber,
- teletexTerminalIdentifier,
- telexNumber,
- x121Address
-
-objectclass umichDocument
- requires
- objectClass,
- documentIdentifier
- allows
- abstract,
- audio,
- authorCN,
- authorSN,
- category,
- cn,
- dITRedirect,
- description,
- documentAuthor,
- documentAvailable,
- documentLocation,
- documentPublisher,
- documentSeriesTitle,
- documentStore,
- documentTit