[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Question about attribute name

Rana Biswas wrote:

When I add an attribute named "cm.host" in my OpenLDAP schema, I
get an invalid name error.

The attribute I added is:
attributeType ( NAME   'cm.host'
	DESC 'host name'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX{32768} )

I am getting the following error: Invalid NAME: "cm.host"

Does this mean attribute in OpenLDAP schema cannot have dot in attribute name
or I am doing something wrong.
Is there any way around, I cannot change the schema and our
application depend on this data.

Thanks in advance.

Rana Biswas

What version of OpenLDAP are you using?

Where did you add this attribute? It looks like you've hacked
core.schema and not requested your own OID. Please read:


According to rfc4512, section 1.4:

   Short names, also known as descriptors, are used as more readable
   aliases for object identifiers.  Short names are case insensitive and
   conform to the ABNF

ABNF has:

 DOT     = %x2E ; period (".")

So I read that as 'cm.host' be valid, I'm just not sure how it is to be written in a schema.

Anyone correct/clarify?


Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).