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.


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 ''{128}

whereas the correct syntax would be:

SYNTAX '{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=( NAME 'ipNetmaskNumber' DESC 'IP netmask as a dotted decimal, eg., omitting leading zeros' EQUALITY caseIgnoreIA5Match SYNTAX ''{128} SINGLE-VALUE )
attributetypes=( NAME 'macAddress' DESC 'MAC address in maximal, colon separated hex notation, eg. 00:00:92:90:ee:e2' EQUALITY caseIgnoreIA5Match SYNTAX ''{128} )
attributetypes=( NAME 'nisMapEntry' EQUALITY caseExactIA5Match SUBSTRINGS caseExactIA5SubstringsMatch SYNTAX ''{1024} SINGLE-VALUE )


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