Schema Syntax Incorrect For Attributes ipNetmaskNumber, macAddress, nisMapEntry (Doc ID 856342.1)

Last updated on SEPTEMBER 14, 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.
This problem can occur on any platform.

Symptoms

There is an apparent syntax error in the attributetype definitions for the attributes 'ipNetmaskNumber', 'macAddress', and 'nisMapEntry'. In the SYNTAX portion of each definition. The upper bound value {nnn} appears outside of the quoted syntax name, as in:

SYNTAX '1.3.6.1.4.1.1466.115.121.1.27'{128}

whereas the correct syntax would be:

SYNTAX '1.3.6.1.4.1.1466.115.121.1.27{128}'

This issue causes at least one third party LDAP library (Net::LDAP Perl module) to fail to parse the schema definition returned by an LDAP schema query to OID.

The problem can be demonstrated using ldapsearch:

$ORACLE_HOME/bin/ldapsearch -p <port> -b "cn=subschemasubentry" -s base objectclass=* | grep "'{"
attributetypes=( 1.3.6.1.1.1.1.21 NAME 'ipNetmaskNumber' DESC 'IP netmask as a dotted decimal, eg. 255.255.255.0, omitting leading zeros' EQUALITY caseIgnoreIA5Match SYNTAX '1.3.6.1.4.1.1466.115.121.1.27'{128} SINGLE-VALUE )
attributetypes=( 1.3.6.1.1.1.1.22 NAME 'macAddress' DESC 'MAC address in maximal, colon separated hex notation, eg. 00:00:92:90:ee:e2' EQUALITY caseIgnoreIA5Match SYNTAX '1.3.6.1.4.1.1466.115.121.1.27'{128} )
attributetypes=( 1.3.6.1.1.1.1.27 NAME 'nisMapEntry' EQUALITY caseExactIA5Match SUBSTRINGS caseExactIA5SubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.27'{1024} SINGLE-VALUE )

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