Installing the H.350 schemas
1. Download all the schema files from the VCS (
Configuration > Authentication > Devices > LDAP
schemas
). Ensure that all characters in the filename are in lowercase and name each file with a .schema
extension. Hence:
commobject.schema
h323identity.schema
h235identity.schema
sipidentity.schema
2. Determine the index of each schema file via
slapcat
. For example,for
commobject.schema
:
sudo slapcat -f schema_convert.conf -F ldif_output -n 0 | grep
commobject,cn=schema
will return something similar to:
dn: cn={14}commobject,cn=schema,cn=config
The index value inside the curly brackets {} will vary.
3. Convert each schema file into ldif format via
slapcat
. Use the index value returned by the previous
command. For example, for
commobject.schema
:
slapcat -f schema_convert.conf -F ldif_output -n0 -H ldap:///cn={14}
commobject,cn=schema,cn=config -l cn=commobject.ldif
4. Use a text editor to edit the newly created file (
cn=commobject.ldif
in the case of the commobject file)
and remove the following lines:
structuralObjectClass:
entryUUID:
creatorsName:
createTimestamp:
entryCSN:
modifiersName:
modifyTimestamp:
5. Add each schema to the ldap database via
ldapadd
. For example, for
cn=commobject.ldif
:
sudo ldapadd -Q -Y EXTERNAL -H ldapi:/// -f cn\=commobject.ldif
(the backslash after
cn
is an escape character)
6. Repeat these steps for every schema file.
More information is available at
https://help.ubuntu.com/13.04/serverguide/openldap-server.html
.
Adding H.350 objects
Create the organizational hierarchy:
1. Create an
ldif
file with the following contents:
# This example creates a single organizational unit to contain the H.350 objects
dn: ou=h350,dc=my-domain,dc=com
objectClass: organizationalUnit
ou: h350
2. Add the ldif file to the server via
slapadd
using the format:
slapadd -l <ldif_file>
This organizational unit will form the BaseDN to which the VCS will issue searches. In this example the
BaseDN will be:
ou=h350,dc=my-domain,dc=com
.
Cisco VCS Administrator Guide (X8.1.1)
Page 380 of 507
Reference material
LDAP server configuration for device authentication