扩展 Sun One Directory Server 的目录模式
Sun One Directory Server 也称为 Netscape 或 iPlanet Directory Server。
要使 Sun One Directory Server 在您的环境中工作,应将 60ibmdb2.ldif 文件添加到以下目录中:
在 Windows 上,如果在 C:\iPlanet\Servers中安装了 iPlanet ,请将先前提到的文件添加到 .\sldap-<machine_name>\config\schema。
在 UNIX 上,如果在 /usr/iplanet/servers中安装了 iPlanet ,请将先前提到的文件添加到 ./slapd-<machine_name>/config/schema。
以下是该文件的内容:
############################################################################
# IBM Db2 Database
############################################################################
dn: cn=schema
############################################################################
# Attribute Definitions (Before V8.2)
############################################################################
attributetypes: ( 1.3.18.0.2.4.305 NAME 'binProperty'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.306 NAME 'binPropertyType'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.307 NAME 'cesProperty'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.308 NAME 'cesPropertyType'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.309 NAME 'cisProperty'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.310 NAME 'cisPropertyType'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.320 NAME 'propertyType'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.329 NAME 'systemName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.419 NAME 'db2nodeName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.420 NAME 'db2nodeAlias'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.428 NAME 'db2instanceName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.418 NAME 'db2Type'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.421 NAME 'db2databaseName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.422 NAME 'db2databaseAlias'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.426 NAME 'db2additionalParameters'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.427 NAME 'db2ARLibrary'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.425 NAME 'db2authenticationLocation'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.429 NAME 'db2databaseRelease'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.443 NAME 'DCEPrincipalName'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.423 NAME 'db2nodePtr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.424 NAME 'db2gwPtr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE X-ORIGIN 'IBM DB2' )
############################################################################
# Attribute Definitions (V8.2 and later)
############################################################################
attributetypes: ( 1.3.18.0.2.4.3092 NAME 'db2altgwPtr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'IBM DB2' )
attributetypes: ( 1.3.18.0.2.4.3093 NAME 'db2altnodePtr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'IBM DB2' )
############################################################################
# Object Class Definitions
# Db2 Database for V8.2 has the above two new optional attributes.
############################################################################
objectClasses: ( 1.3.18.0.2.6.90 NAME 'eProperty'
SUP top STRUCTURAL MAY ( cn $ propertyType $ binProperty
$ binPropertyType $ cesProperty $ cesPropertyType $ cisProperty
$ cisPropertyType ) X-ORIGIN 'IBM DB2' )
objectClasses: ( 1.3.18.0.2.6.84 NAME 'eApplicationSystem'
SUP top STRUCTURAL MUST systemName
X-ORIGIN 'IBM DB2' )
objectClasses: ( 1.3.18.0.2.6.116 NAME 'DB2Node'
SUP top STRUCTURAL MUST db2nodeName MAY ( db2instanceName $ db2nodeAlias
$ db2Type $ description $ host $ protocolInformation )
X-ORIGIN 'IBM DB2' )
objectClasses: ( 1.3.18.0.2.6.117 NAME 'DB2Database'
SUP top STRUCTURAL MUST (db2databaseName $ db2nodePtr ) MAY
( db2additionalParameters $ db2altgwPtr $ db2altnodePtr $ db2ARLibrary
$ db2authenticationLocation $ db2databaseAlias $ db2databaseRelease
$ db2gwPtr $ DCEPrincipalName $ description )
X-ORIGIN 'IBM DB2' )
60ibmdb2.ldif 和 60ibmdb2.readme 文件位于 URL: ftp://ftp.software.ibm.com/ps/products/db2/tools/ldap
添加 Db2® 模式定义后,必须重新启动 Directory Server 才能使所有更改处于活动状态。