If I had a multi-valued attribute like cn: var0:value cn: var2:value cn: var3:value
is there a way to expose each varX as if it were an attribute for search filter purposes?
For instance, ldapsearch.....&((objectclass=person)(var0=value))
I started looking into slapo-rwm. Is that the best way to accomplish this?
--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
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
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
Howard,
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?
Marc
Marc Patermann wrote:
Howard,
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.
Howard,
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.
Thanks.
With searching for "Attribute Options" I found the corresponding setting in slapd.conf: attributeoptions
When I set attributeoptions lang- x- I can set "lang-" option tags and private "x-" tags, right?
Marc
google search: "attribute tags" site:openldap.org returns 4 hits, none to documentation. Can you point me towards a document that describes how to use attribute tags?
On Tue, Oct 27, 2015 at 3:00 AM, Howard Chu hyc@symas.com wrote:
Marc Patermann wrote:
Howard,
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.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
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?
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?
Marc
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
openldap-technical@openldap.org