Skip to content

Commit

Permalink
Resolves: 474254
Browse files Browse the repository at this point in the history
Summary: A number of the default attribute and objectclass definitions end up in 99user.ldif if you add any custom schema over LDAP.
  • Loading branch information
nkinder committed Dec 3, 2008
1 parent da60a75 commit ca28f65
Show file tree
Hide file tree
Showing 9 changed files with 100 additions and 4 deletions.
4 changes: 1 addition & 3 deletions ldap/schema/01common.ldif
Expand Up @@ -125,7 +125,7 @@ attributeTypes: ( 1.3.6.1.4.1.1466.101.120.13 NAME 'supportedControl' DESC 'Stan
attributeTypes: ( 1.3.6.1.4.1.1466.101.120.14 NAME 'supportedSASLMechanisms' DESC 'Standard LDAP attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 USAGE dSAOperation X-ORIGIN 'RFC 2252' )
attributeTypes: ( 1.3.6.1.4.1.1466.101.120.15 NAME 'supportedLDAPVersion' DESC 'Standard LDAP attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 USAGE dSAOperation X-ORIGIN 'RFC 2252' )
attributeTypes: ( 1.3.6.1.4.1.1466.101.120.16 NAME 'ldapSyntaxes' DESC 'Standard LDAP attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 USAGE directoryOperation X-ORIGIN 'RFC 2252' )
attributeTypes: ( 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 )
attributeTypes: ( 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 X-ORIGIN 'RFC 3674')
attributeTypes: ( 2.16.840.1.113730.3.1.36 NAME 'nsLicensedFor' DESC 'Netscape defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Netscape Administration Services' )
attributeTypes: ( 2.16.840.1.113730.3.1.37 NAME 'nsLicenseStartTime' DESC 'Netscape defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Netscape Administration Services' )
attributeTypes: ( 2.16.840.1.113730.3.1.38 NAME 'nsLicenseEndTime' DESC 'Netscape defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Netscape Administration Services' )
Expand Down Expand Up @@ -266,11 +266,9 @@ objectClasses: ( 2.16.840.1.113730.3.2.30 NAME 'glue' DESC 'Netscape defined obj
objectClasses: ( 2.16.840.1.113730.3.2.32 NAME 'netscapeMachineData' DESC 'Netscape defined objectclass' SUP top X-ORIGIN 'Netscape Directory Server' )
objectClasses: ( 2.16.840.1.113730.3.2.38 NAME 'vlvSearch' DESC 'Netscape defined objectclass' SUP top MUST ( cn $ vlvBase $ vlvScope $ vlvFilter ) MAY ( multiLineDescription ) X-ORIGIN 'Netscape Directory Server' )
objectClasses: ( 2.16.840.1.113730.3.2.39 NAME 'nsslapdConfig' DESC 'Netscape defined objectclass' SUP top MAY ( cn ) X-ORIGIN 'Netscape Directory Server' )
objectClasses: ( 2.16.840.1.113730.3.2.39 NAME 'nsslapdConfig' DESC 'Netscape defined objectclass' SUP top MAY ( cn ) X-ORIGIN 'Netscape Directory Server' )
objectClasses: ( 2.16.840.1.113730.3.2.42 NAME 'vlvIndex' DESC 'Netscape defined objectclass' SUP top MUST ( cn $ vlvSort ) MAY ( vlvEnabled $ vlvUses ) X-ORIGIN 'Netscape Directory Server' )
objectClasses: ( 2.16.840.1.113730.3.2.43 NAME 'nsSNMP' DESC 'Netscape defined objectclass' SUP top MUST ( cn $ nsSNMPEnabled ) MAY ( nsSNMPOrganization $ nsSNMPLocation $ nsSNMPContact $ nsSNMPDescription $ nsSNMPName $ nsSNMPMasterHost $ nsSNMPMasterPort ) X-ORIGIN 'Netscape Directory Server' )
objectClasses: ( 2.16.840.1.113730.3.2.84 NAME 'cosDefinition' DESC 'Netscape defined objectclass' SUP top MAY ( costargettree $ costemplatedn $ cosspecifier $ cosattribute $ aci $ cn $ uid ) X-ORIGIN 'Netscape Directory Server' )
objectClasses: ( 2.16.840.1.113719.2.142.6.1.1 NAME 'ldapSubEntry' DESC 'LDAP Subentry class, version 1' SUP top STRUCTURAL MAY ( cn ) X-ORIGIN 'LDAP Subentry Internet Draft' )
objectClasses: ( 2.16.840.1.113730.3.2.93 NAME 'nsRoleDefinition' DESC 'Netscape defined objectclass' SUP ldapSubEntry MAY ( description ) X-ORIGIN 'Netscape Directory Server' )
objectClasses: ( 2.16.840.1.113730.3.2.94 NAME 'nsSimpleRoleDefinition' DESC 'Netscape defined objectclass' SUP nsRoleDefinition X-ORIGIN 'Netscape Directory Server' )
objectClasses: ( 2.16.840.1.113730.3.2.95 NAME 'nsComplexRoleDefinition' DESC 'Netscape defined objectclass' SUP nsRoleDefinition X-ORIGIN 'Netscape Directory Server' )
Expand Down
3 changes: 3 additions & 0 deletions ldap/schema/60autofs.ldif
Expand Up @@ -12,6 +12,7 @@ attributeTypes: (
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
X-ORIGIN 'draft-howard-rfc2307bis'
)
#
################################################################################
Expand All @@ -24,6 +25,7 @@ objectClasses: (
STRUCTURAL
MUST ( cn $ automountInformation )
MAY ( description )
X-ORIGIN 'draft-howard-rfc2307bis'
)
#
################################################################################
Expand All @@ -35,6 +37,7 @@ objectClasses: (
SUP top
STRUCTURAL
MUST ( ou )
X-ORIGIN 'draft-howard-rfc2307bis'
)
#
################################################################################
Expand Down
12 changes: 11 additions & 1 deletion ldap/schema/60eduperson.ldif
@@ -1,4 +1,4 @@
# 60eduperson.ldif - See http://www.educause.edu/eduperso
# 60eduperson.ldif - See http://middleware.internet2.edu/eduperson/
################################################################################
#
dn: cn=schema
Expand All @@ -10,6 +10,7 @@ attributeTypes: (
NAME 'eduPersonAffiliation'
DESC 'Affiliation'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'http://middleware.internet2.edu/eduperson/'
)
#
################################################################################
Expand All @@ -19,6 +20,7 @@ attributeTypes: (
NAME 'eduPersonNickName'
DESC 'NickName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'http://middleware.internet2.edu/eduperson/'
)
#
################################################################################
Expand All @@ -29,6 +31,7 @@ attributeTypes: (
DESC 'Organization DN'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
SINGLE-VALUE
X-ORIGIN 'http://middleware.internet2.edu/eduperson/'
)
#
################################################################################
Expand All @@ -38,6 +41,7 @@ attributeTypes: (
NAME 'eduPersonOrgUnitDN'
DESC 'Organizational Unit DN'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
X-ORIGIN 'http://middleware.internet2.edu/eduperson/'
)
#
################################################################################
Expand All @@ -48,6 +52,7 @@ attributeTypes: (
DESC 'Primary Affiliation'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
X-ORIGIN 'http://middleware.internet2.edu/eduperson/'
)
#
################################################################################
Expand All @@ -58,6 +63,7 @@ attributeTypes: (
DESC 'Principal Name'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
X-ORIGIN 'http://middleware.internet2.edu/eduperson/'
)
#
################################################################################
Expand All @@ -67,6 +73,7 @@ attributeTypes: (
NAME 'eduPersonEntitlement'
DESC 'Entitlement'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'http://middleware.internet2.edu/eduperson/'
)
#
################################################################################
Expand All @@ -76,6 +83,7 @@ attributeTypes: (
NAME 'eduPersonPrimaryOrgUnitDN'
DESC 'Primary Organizational Unit'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
X-ORIGIN 'http://middleware.internet2.edu/eduperson/'
)
#
################################################################################
Expand All @@ -85,6 +93,7 @@ attributeTypes: (
NAME 'eduPersonScopedAffiliation'
DESC 'Scoped Affiliation'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'http://middleware.internet2.edu/eduperson/'
)
#
################################################################################
Expand All @@ -94,6 +103,7 @@ objectClasses: (
NAME 'eduPerson'
AUXILIARY
MAY ( eduPersonAffiliation $ eduPersonNickName $ eduPersonOrgDN $ eduPersonOrgUnitDN $ eduPersonPrimaryAffiliation $ eduPersonPrincipalName $ eduPersonEntitlement $eduPersonPrimaryOrgUnitDN $ eduPersonScopedAffiliation )
X-ORIGIN 'http://middleware.internet2.edu/eduperson/'
)
#
################################################################################
Expand Down
18 changes: 18 additions & 0 deletions ldap/schema/60mozilla.ldif
Expand Up @@ -29,6 +29,7 @@ attributeTypes: (
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -40,6 +41,7 @@ attributeTypes: (
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -51,6 +53,7 @@ attributeTypes: (
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -62,6 +65,7 @@ attributeTypes: (
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -73,6 +77,7 @@ attributeTypes: (
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -84,6 +89,7 @@ attributeTypes: (
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -93,6 +99,7 @@ attributeTypes: (
NAME 'mozillaHomeLocalityName'
SUP name
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -102,6 +109,7 @@ attributeTypes: (
NAME 'mozillaHomeState'
SUP name
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -113,6 +121,7 @@ attributeTypes: (
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -122,6 +131,7 @@ attributeTypes: (
NAME 'mozillaHomeCountryName'
SUP name
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -132,6 +142,7 @@ attributeTypes: (
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -143,6 +154,7 @@ attributeTypes: (
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -153,6 +165,7 @@ attributeTypes: (
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -161,6 +174,7 @@ attributeTypes: (
1.3.6.1.4.1.13769.2.1
NAME ( 'mozillaNickname' 'xmozillanickname' )
SUP name
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -172,6 +186,7 @@ attributeTypes: (
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -181,6 +196,7 @@ attributeTypes: (
NAME ( 'mozillaUseHtmlMail' 'xmozillausehtmlmail' )
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -191,6 +207,7 @@ attributeTypes: (
EQUALITY telephoneNumberMatch
SUBSTR telephoneNumberSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand All @@ -207,6 +224,7 @@ objectClasses: (
AUXILIARY
MUST ( cn )
MAY ( c $ description $ displayName $ fax $ givenName $ homePhone $ l $ mail $ mobile $ mozillaCustom1 $ mozillaCustom2 $ mozillaCustom3 $ mozillaCustom4 $ mozillaHomeCountryName $ mozillaHomeLocalityName $ mozillaHomePostalCode $ mozillaHomeState $ mozillaHomeStreet $ mozillaHomeStreet2 $ mozillaHomeUrl $ mozillaNickname $ mozillaSecondEmail $ mozillaUseHtmlMail $ mozillaWorkStreet2 $ mozillaWorkUrl $ nsAIMid $ o $ ou $ pager $ postalCode $ postOfficeBox $ sn $ st $ street $ telephoneNumber $ title )
X-ORIGIN 'Mozilla Address Book'
)
#
################################################################################
Expand Down
10 changes: 10 additions & 0 deletions ldap/schema/60pureftpd.ldif
Expand Up @@ -16,6 +16,7 @@ attributeTypes: (
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE
X-ORIGIN 'Pure-FTPd'
)
#
################################################################################
Expand All @@ -27,6 +28,7 @@ attributeTypes: (
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE
X-ORIGIN 'Pure-FTPd'
)
#
################################################################################
Expand All @@ -38,6 +40,7 @@ attributeTypes: (
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE
X-ORIGIN 'Pure-FTPd'
)
#
################################################################################
Expand All @@ -49,6 +52,7 @@ attributeTypes: (
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE
X-ORIGIN 'Pure-FTPd'
)
#
################################################################################
Expand All @@ -60,6 +64,7 @@ attributeTypes: (
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE
X-ORIGIN 'Pure-FTPd'
)
#
################################################################################
Expand All @@ -71,6 +76,7 @@ attributeTypes: (
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE
X-ORIGIN 'Pure-FTPd'
)
#
################################################################################
Expand All @@ -82,6 +88,7 @@ attributeTypes: (
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE
X-ORIGIN 'Pure-FTPd'
)
#
################################################################################
Expand All @@ -93,6 +100,7 @@ attributeTypes: (
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE
X-ORIGIN 'Pure-FTPd'
)
#
################################################################################
Expand All @@ -104,6 +112,7 @@ attributeTypes: (
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE
X-ORIGIN 'Pure-FTPd'
)
#
################################################################################
Expand All @@ -113,6 +122,7 @@ objectClasses: (
NAME 'PureFTPdUser'
DESC 'PureFTPd user with optional quota, throttling and ratio'
MAY ( FTPStatus $ FTPQuotaFiles $ FTPQuotaMBytes $ FTPUploadRatio $ FTPDownloadRatio $ FTPUploadBandwidth $ FTPDownloadBandwidth $ FTPuid $ FTPgid )
X-ORIGIN 'Pure-FTPd'
)
#
################################################################################
Expand Down

0 comments on commit ca28f65

Please sign in to comment.