#
# File: ndsschema.ldif 
#
# Description:
#		This file contains all of the LDAP schema extensions used
#		by Oracle products in the 8.1.6 bundle.
#
#		This file is generated from the following command:
#		   cat oidbase.ldif oidnet.ldif oidrdbms.ldif > oidschema.ldif
#		
#		Note: the order in which the individual LDIF files are 
#			present in the command above is IMPORTANT.
#
#   Do not edit this file. Instead make changes to the individual 
#	components and re-generate this file. This file will go away in
#	future releases.  
#
#
# File: oidbase.ldif
#
# Description:
#               Contains OiD specific LDAP schema extensions required by 
#               all Oracle Products.
#
#               Modified for Novell NDS specific syntax and containment.
#
# Modified:
#
# 10/12/99      akolli          Create first version based on oidschema.ldif
#
#  Notes:  
#
#          This LDIF file will only work with Oracle Internet Directory
#               version 2.0.5 and above
#
#          This file should  be loaded by 'ldapmodify' with the following 
#           options "-c -a -v" 

#
# Generic Attributes (prefix = orcl)
#
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.7.1.1 NAME 'orclVersion' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.7.1.2 NAME 'orclOracleHome' SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.7.1.3 NAME 'orclSystemName' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.7.1.4 NAME 'orclServiceType' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.7.1.5 NAME 'orclSid' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.7.1.6 NAME 'orclProductVersion' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

#
# Generic Container Objectclasses(prefix = orcl)
#
#
dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.7.2.3 NAME 'orclContext'   SUP 'top'  STRUCTURAL MUST ( cn )   )

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.7.2.2 NAME 'orclContainer'   SUP 'top'  STRUCTURAL MUST ( cn )  X-NDS_CONTAINMENT ( 'top' 'orclContext' 'orclContainer' ) )

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.7.2.6 NAME 'orclSchemaVersion'   SUP 'top'  STRUCTURAL MUST ( cn  $ orclProductVersion )  X-NDS_CONTAINMENT ( 'top' 'orclContainer' ) )

## add generic net related attributes
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.12 NAME 'orclNetDescName' EQUALITY DistinguishedNameMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.13 NAME 'orclNetDescString' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )


#
#
# Generic Objectclasses (prefix = orcl)
#
dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.7.2.1001 NAME 'orclService'   SUP 'top'  STRUCTURAL MUST ( cn )  MAY (  orclServiceType $ orclOracleHome $ orclSystemName $ orclSid $ orclNetDescName $ orclNetDescString $ orclVersion $ Description ) X-NDS_CONTAINMENT ('top' 'orclContext'))


#
# Create version entries in directory
#
dn: cn=OracleSchemaVersion
changetype: add
cn: OracleSchemaVersion
objectclass: top
objectclass: orclContainer

dn: cn=BASE,cn=OracleSchemaVersion
changetype: add
cn: BASE
objectclass: top
objectclass: orclSchemaVersion
orclProductVersion: 81600


#
# Create version entries in directory
#
dn: cn=NET,cn=OracleSchemaVersion
changetype: add
cn: NET
objectclass: top
objectclass: orclSchemaVersion
orclProductVersion: 81600

#
# File: oidrdbms.ldif
#
# Description:
#		Contains OiD specific LDAP schema extensions required by the 
#		RDBMS enterprise roles functionality.
# 
# Modified:
# 10/12/99 akolli     Create first version based on oidschema.ldif
# 10/05/99 nlewis     make mapping attributes single value
# 9/16/99  nlewis     make attributes searchable and add versioning support
# 9/3/99   nlewis     add orclcontext oc and remove orcladmincontext oc
# 6/15/99  nlewis     change network objects; add orcladmincontext oc
# 6/30/99  nlewis     fix syntax w.r.t. comments
#
#
#
#  Notes:  This LDIF file is dependent on other LDIF files being already 
#               loaded to the directory.
#          The following LDIF files must be loaded before loading this file:
#               -> oidbase.ldif
#
#          This LDIF file will only work with Oracle Internet Directory
#               version 2.0.5 and above
#	
#	   This file should  be loaded by 'ldapmodify' with the following 
#	    options "-c -a -v" 
#
# Copyright (c) Oracle Corporation 1999, 2000. All rights reserved.

#
#
# RDBMS attributes (prefix = orclDB)
#
#
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.2.1.1 NAME 'orclDBtrustedUser' EQUALITY distinguishedNameMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.12' )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.2.1.2 NAME 'orclDBServerMember' EQUALITY distinguishedNameMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.12' )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.2.1.3 NAME 'orclDBEntUser' EQUALITY distinguishedNameMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.12' )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.2.1.4 NAME 'orclDBEntRoleAssigned' EQUALITY distinguishedNameMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.12' )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.2.1.5 NAME 'orclDBServerRole' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.2.1.6 NAME 'orclDBTrustedDomain' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.2.1.7 NAME 'orclDBRoleOccupant' EQUALITY distinguishedNameMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.12' )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.2.1.8 NAME 'orclDBDistinguishedName' EQUALITY distinguishedNameMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.12' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.2.1.9 NAME 'orclDBNativeUser' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.2.1.10 NAME 'orclDBGlobalName' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

#
#
# RDBMS Objectclasses
#
#
dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.2.2.1 NAME 'orclDBServer' SUP 'orclService' STRUCTURAL MAY ( userCertificate $ orclDBtrustedUser $ orclDBGlobalName ) X-NDS_CONTAINMENT ('orclContext' 'organizationalUnit') )

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.2.2.2 NAME 'orclDBEnterpriseDomain' SUP top STRUCTURAL MUST cn MAY ( orclDBServerMember $ orclDBEntUser $ orclDBTrustedDomain ) X-NDS_CONTAINMENT ( 'top' 'orclContainer' ) )

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.2.2.3 NAME 'orclDBEnterpriseRole' SUP top STRUCTURAL MUST cn MAY ( orclDBServerRole $ orclDBEntRoleAssigned $ description $ seeAlso $ o $ ou $ orclDBRoleOccupant ) X-NDS_CONTAINMENT ( 'orclDBEnterpriseDomain') )

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.2.2.4 NAME 'orclDBEntryLevelMapping' SUP top STRUCTURAL  MUST cn MAY ( orclDBDistinguishedName $ orclDBNativeUser ) X-NDS_CONTAINMENT ( 'orclDBserver' 'orclDBEnterpriseDomain') )

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.2.2.5 NAME 'orclDBSubtreeLevelMapping' SUP top STRUCTURAL MUST cn  MAY ( orclDBDistinguishedName $ orclDBNativeUser ) X-NDS_CONTAINMENT ( 'orclDBserver' 'orclDBEnterpriseDomain') )

#
#
# Make RDBMS attributes searchable
#
#dn: cn=catalogs
#changetype: modify
#add: orclindexedattribute
#orclindexedattribute: orclDBServerRole

#dn: cn=catalogs
#changetype: modify
#add: orclindexedattribute
#orclindexedattribute: orclDBTrustedUser

#dn: cn=catalogs
#changetype: modify
#add: orclindexedattribute
#orclindexedattribute: orclDBServerMember

#dn: cn=catalogs
#changetype: modify
#add: orclindexedattribute
#orclindexedattribute: orclDBEntUser

#dn: cn=catalogs
#changetype: modify
#add: orclindexedattribute
#orclindexedattribute: orclDBRoleOccupant

#dn: cn=catalogs
#changetype: modify
#add: orclindexedattribute
#orclindexedattribute: orclDBTrustedDomain

#dn: cn=catalogs
#changetype: modify
#add: orclindexedattribute
#orclindexedattribute: orclDBEntRoleAssigned

#dn: cn=catalogs
#changetype: modify
#add: orclindexedattribute
#orclindexedattribute: orclDBDistinguishedName

#dn: cn=catalogs
#changetype: modify
#add: orclindexedattribute
#orclindexedattribute: orclDBNativeUser

#dn: cn=catalogs
#changetype: modify
#add: orclindexedattribute
#orclindexedattribute: orclDBGlobalName

# Novell: Move Net 8 after RDBMS entries due to dependencies on them for containment rules

#
# File: oidnet.ldif
#
# Description:
#		Contains OiD specific LDAP schema extensions required by 
#		Net8 LDAP naming adapter.
# Modified:
#
# 10/12/99	akolli		Create first version based on oidschema.ldif
#
#
#  Notes:  This LDIF file is dependent on other LDIF files being already 
#		loaded to the directory.
#	   The following LDIF files must be loaded before loading this file:
#		-> oidbase.ldif
#		-> oidrdbms.ldif
#
#	   This LDIF file will only work with Oracle Internet Directory
#		version 2.0.5 and above
#
#          This file should  be loaded by 'ldapmodify' with the following 
#           options "-c -a -v" 
#
# Copyright (c) Oracle Corporation 1999, 2000. All rights reserved.

#
# Net8 Attributes (prefix = orclNet)
#
#
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.1 NAME 'orclNetSourceRoute' SYNTAX '1.3.6.1.4.1.1466.115.121.1.5' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.2 NAME 'orclNetLoadBalance' SYNTAX '1.3.6.1.4.1.1466.115.121.1.5' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.3 NAME 'orclNetFailover' SYNTAX '1.3.6.1.4.1.1466.115.121.1.5' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.4 NAME 'orclNetSdu' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.5 NAME 'orclNetServer' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.6 NAME 'orclNetServiceName' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.7 NAME 'orclNetInstanceName' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.8 NAME 'orclNetHandlerName' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.9 NAME 'orclNetParamList' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.10 NAME 'orclNetAuthenticationType' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.11 NAME 'orclNetAuthParams' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

# orclNetDescName moved to oidbase.ldif due to circular dependency

# orclNetDescString moved to oidbase.ldif due to circular dependency

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.14 NAME 'orclNetAddressString' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.15 NAME 'orclNetProtocol' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.16 NAME 'orclNetShared' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.17 NAME 'orclNetAddrList' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'  )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.18 NAME 'orclNetProtocolStack' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.19 NAME 'orclNetDescList' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.20 NAME 'orclNetConnParamList' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.3.1.21 NAME 'orclNetAuthenticationService' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

#
#
# Generic Objectclasses (prefix = orcl) moved to oidbase.ldif due to circular
#      dependency
#
#

#
#
# Net8 Objectclasses (prefix = orclNet)
#
#
dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.3.2.5 NAME 'orclNetService'   SUP 'top'  STRUCTURAL MUST ( cn )  MAY (  orclNetDescName $ orclNetDescString $ orclVersion $ Description ) X-NDS_CONTAINMENT ( 'orclContext' ))

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.3.2.4 NAME 'orclNetDescriptionList'   SUP 'top'  STRUCTURAL MUST ( cn )  MAY (  orclNetDescList $  orclNetSourceRoute $ orclNetLoadBalance $ orclNetFailover $ orclNetShared $ orclVersion $ Description ) X-NDS_CONTAINMENT ( 'orclNetService' 'orclDBServer' ) )

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.3.2.3 NAME 'orclNetDescription'   SUP 'top'  STRUCTURAL MUST ( cn )  MAY (  orclNetAddrList $ orclNetProtocolStack $ orclNetSdu $ orclSid $ orclNetServer $ orclNetServiceName $ orclNetInstanceName $ orclNetHandlerName $ orclOracleHome $ orclNetAuthenticationType $ orclNetAuthenticationService $ orclNetAuthParams $ orclNetParamList $ orclNetConnParamList $ orclNetSourceRoute $ orclNetLoadBalance $ orclNetFailover $ orclNetShared $ orclVersion $ Description ) X-NDS_CONTAINMENT ( 'orclNetService' 'orclDBServer' 'orclNetDescriptionList' ) )

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.3.2.2 NAME 'orclNetAddressList'   SUP 'top'  STRUCTURAL MUST ( cn )  MAY (  orclNetAddrList $ orclNetSourceRoute $ orclNetLoadBalance $ orclNetFailover $ orclNetShared $ orclVersion $ Description ) X-NDS_CONTAINMENT ( 'orclNetDescription' ) )

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 2.16.840.1.113894.3.2.1 NAME 'orclNetAddress'   SUP 'top'  STRUCTURAL MUST ( cn )  MAY (  orclNetAddressString $ orclNetProtocol $ orclNetShared $ orclVersion $ Description ) X-NDS_CONTAINMENT ( 'orclNetAddressList' ) )

#
# Create version entries in directory
#
dn: cn=RDBMS,cn=OracleSchemaVersion
changetype: add
cn: RDBMS
objectclass: top
objectclass: orclSchemaVersion
orclProductVersion: 81600


dn: cn=schema
changetype: modify
delete: objectclasses
objectclasses: ( 2.5.6.9 )
-
add: objectclasses
objectclasses: ( 2.5.6.9 NAME 'groupOfNames' DESC 'Standard ObjectClass' SUP top STRUCTURAL MUST cn MAY ( description $ l $ member $ ou $ o $ owner $ seeAlso $ groupID $ fullName $ Profile $ loginScript $ businessCategory ) X-NDS_NAMING 'cn' X-NDS_CONTAINMENT ( 'organization' 'organizationalUnit' 'domain' 'orclContext')  )
