[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: country attribute
Am Sat, 30 Sep 2017 20:34:51 +0200
schrieb richard lucassen <mailinglists@lucassen.org>:
> 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.
As Michael mentioned, define an auxiliary object class and attribute
type countryName, c as a MUST.
-Dieter
--
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E