LDAP-UX Client Services B.04.10 with Microsoft Windows Active Directory Server Administrator's Guide

ldapschema The Schema Extension Tool
The ldapschema utility allows schema developers to define LDAP schemas using a universal
XML syntax, greatly simplifying the ability to support different directory server variations. It
can be used to query the current status of the LDAP schema on the LDAP directory server, as
well as extend the LDAP directory server schema with new attribute types and object classes.
The ldapschema utility was designed to support directory servers from several vendors and
is currently supported with Netscape Directory Server/Red Hat Directory Server and Microsoft
Windows Active Directory Server.
Syntax for ldapschema
ldapschema -q <schema> -T <ds_type> -V <ds_version> [options]
ldapschema -e <schema> -T <ds_type> -V <ds_version> [options]
Required Command Options
The following describes required options:
-q <schema>
Queries the schema status on the LDAP directory without applying any
changes to the LDAP directory server. The schema definitions can be
obtained from the file name specified in the <schema> argument.
ldapschema checks if any attribute types and/or object classes of the LDAP
schema are already installed on the LDAP server. Also, determines if
definitions installed on the LDAP server match definitions specified in the
schema file being queried. See the “Schema Definition File” section for
details.
-e <schema>
Extends the LDAP directory server schema with attribute types and object
classes defined in the specified schema. Schema definition is obtained from
the schema file. See the “Schema Definition File” section for details. On
most LDAP directory servers this option requires specifying the -D binddn
option and either the -j filename or the -w option to specify the
credentials of an administrator who has permissions to modify the schema
on the directory server.
-T ds_type
Specifies type of LDAP directory server.
The following types of LDAP directory servers are fully supported by
ldapschema:
Table C-5 Supported Directory Servers
ds_typeType of Directory Server
adsWindows Active Directory Server
rhdsNetscape/Red Hat Directory Server
The ldapschema utility may work with other types of LDAPv3 directory
servers., although its behavior has not been verified.
The following table lists names of LDAPv3 directory servers which are
reserved for future support:
Table C-6 Reserved LDAPv3 Directory Servers
ds_typeType of Directory Server
openldapopenLDAP Directory Server
oracleOracle Internet Directory
eDirectoryNovell e-Directory Server
ibmIBM Tivoli Directory Server
160 Command, Tool, Schema Extension Utility, and Migration Script Reference