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

Re: country attribute



On Sat, 30 Sep 2017 15:30:07 +0200
Michael Ströder <michael@stroeder.com> wrote:

> > BTW: I tried to use the "c" attribute in my AUXILIARY objectclass,
> > but slapd complains that it conflicts with the existing "c". I
> > suppose this is because I applied different properties to it?
> 
> Do not re-define attribute type "c".
> 
> Simply define your own object class referencing _existing_ attribute
> type description "c".

But I have to give it a different name (e.g. "cty") though, right or
wrong? Something like this:

attributetype ( 1.3.6.1.4.1.10624.1.50
      NAME 'cty'
      DESC 'Country'
      SUP c )

I now defined an independend "cty":

attributetype ( 1.3.6.1.4.1.10624.1.50
        NAME 'cty'
        DESC 'country'
        EQUALITY caseIgnoreIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

It works, but I have no idea if this is dirty or not.

R.

-- 
richard lucassen
http://contact.xaq.nl/