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

Re: Atribute Tags [was: multi-value attribute virtual view of single attribute]



Am Thu, 19 Nov 2015 18:55:34 +0100
schrieb Marc Patermann <hans.moser@ofd-z.niedersachsen.de>:

> Hi,
> 
> Am 27.10.2015 um 11:00 Uhr schrieb Howard Chu:
> > Marc Patermann wrote:
> >> Am 24.10.2015 um 07:24 Uhr schrieb Howard Chu:
> >>> Quanah Gibson-Mount wrote:
> >>>> --On Friday, October 23, 2015 1:15 PM -0700 Jason Whitener
> >>>> <jwhitene@pcc.edu>
> >>>> wrote:
> >>>>
> >>>>>
> >>>>> If I had a multi-valued attribute like
> >>>>> cn: var0:value
> >>>>> cn: var2:value
> >>>>> cn: var3:value
> >>>>
> >>>> I think you're looking for the valsort overlay.  Read the man
> >>>> page for slapo-valsort
> >>>
> >>> If each of those are just arbitrary tags, and not for ordering
> >>> purposes, then just using an attribute tag might be the better
> >>> option.
> >>>
> >>> cn;var0: value
> >>> cn;var2: value
> >>> cn;var3: value
> >>>
> >> regarding LDAP and tags I only found this RFC:
> >> https://tools.ietf.org/html/rfc3866
> >>
> >> But it is about languages tags only. Section 1.3 speaks about
> >> "cn;x-bar", so
> >> this is for arbitrary tags?
> >> Is this what you meant or can you point me to something else?
> >
> > RFC 4512 Section 2.5.2.
> 
> Two questions:
> 
> uidnumber is singelvalue.
> with
> uidnumber;x-foo: 1
> I can set a second uidnumber value to an object.
> Is this intented or a bug?

uidnumber;x-foo is a subtype of uidnumber, thus still single valued.

> 
> With
> cn: test
> cn;x-bar: bar
> cn;x-foo: foo
> 
> I can search for
> (cn=*)		-> 3 values
> (cn;x-=*) 	-> 2 values
> (cn;x-bar=*)	-> 1 value
> How can I search for the one attribute without a tag?

This is described in RFC 3866, section 2.2

-Dieter

-- 
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E