Creating IP Hosts in OID 10g Fails with: ldap_add: additional info: Failed to find iphostnumber in mandatory or optional attribute list | LDAP Error code 65 (Doc ID 1062643.1)

Last updated on SEPTEMBER 15, 2016

Applies to:

Oracle Internet Directory - Version 10.1.2 to 10.1.4 [Release 10gR2 to 10gR3]
Information in this document applies to any platform.

Symptoms

When trying to setup LDAP IP-Hostname resolution per document:
     RFC2307 An Approach for Using LDAP as a Network Information Service

Sample LDIF (iphosts.ldif):

dn: cn=cpdv,cn=Hosts,dc=au,dc=oracle,dc=com
objectClass: top
objectClass: ipHost
objectClass: device
ipHostNumber: 192.168.16.123
cn: cpdv


Fails with error stack shown:

ldap_add: Object class violation
ldap_add: additional info: Failed to find iphostnumber in mandatory or optional attribute list.

(LDAP Error code 65)

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms