weighted valsort for telephone Numbers

2013-02-11 Thread Benin Technologies
Hi Quanah, I just found an old post of yours, and I'd be interested to know if and how you solved that problem, because I ran into the same need. Thanks Ben * *To*: *openldap-de...@openldap.org mailto:openldap-devel%40OpenLDAP.org* * *Subject*: *valsort telephoneNumber* * *From*:

Re: weighted valsort for telephone Numbers

2013-02-11 Thread Michael Ströder
IMO this example clearly shows that the {} approach is a hack limited to certain use-cases (e.g. ACLs etc. in back-config). Ciao, Michael. Benin Technologies wrote: Hi Quanah, I just found an old post of yours, and I'd be interested to know if and how you solved that problem, because I ran

Re: weighted valsort for telephone Numbers

2013-02-11 Thread Benin Technologies
thanks, I agree, first I thought that weighted valsort could be used to give an importance grade to a set of attributes, but I agree, it seems it is of much limited use (other limitation : it's quite impossible to delete/modify a weighted entry, because you need to include the weight ({3} for

Re: weighted valsort for telephone Numbers

2013-02-11 Thread Bill MacAllister
--On Monday, February 11, 2013 09:42:55 PM +0100 Benin Technologies benintechnolog...@yahoo.fr wrote: thanks, I agree, first I thought that weighted valsort could be used to give an importance grade to a set of attributes, but I agree, it seems it is of much limited use (other limitation :

Re: weighted valsort for telephone Numbers

2013-02-11 Thread Pierangelo Masarati
IMO this example clearly shows that the {} approach is a hack limited to certain use-cases (e.g. ACLs etc. in back-config). Perhaps valsort could return weights instead of stripping them off when the RFC 3296 manageDSAit control is used. p. -- Pierangelo Masarati Associate Professor

Re: weighted valsort for telephone Numbers

2013-02-11 Thread Pierangelo Masarati
--On Monday, February 11, 2013 09:42:55 PM +0100 Benin Technologies benintechnolog...@yahoo.fr wrote: thanks, I agree, first I thought that weighted valsort could be used to give an importance grade to a set of attributes, but I agree, it seems it is of much limited use (other

Re: weighted valsort for telephone Numbers

2013-02-11 Thread Quanah Gibson-Mount
--On Monday, February 11, 2013 10:11 PM +0100 Pierangelo Masarati masar...@aero.polimi.it wrote: IMO this example clearly shows that the {} approach is a hack limited to certain use-cases (e.g. ACLs etc. in back-config). Perhaps valsort could return weights instead of stripping them off

Re: weighted valsort for telephone Numbers

2013-02-11 Thread Benin Technologies
thanks for that info how do you use that control ? I tried the following : ldapsearch -x -W -D cn=admin,dc=company,dc=com -b ou=people,dc=company,dc=com -s subtree -e 1.3.6.1.4.1.4203.666.5.14 I get : # search result search: 2 result: 2 Protocol error text: valSort control value is absent

Re: weighted valsort for telephone Numbers

2013-02-11 Thread Quanah Gibson-Mount
--On Monday, February 11, 2013 10:22 PM +0100 Pierangelo Masarati masar...@aero.polimi.it wrote: To perform a search that returns the weighted values the control LDAP_CONTROL_VALSORT (1.3.6.1.4.1.4203.666.5.14) must be specified. That's not documented in slapo-valsort(5), as far as I know.

Re: weighted valsort for telephone Numbers

2013-02-11 Thread Bill MacAllister
--On Monday, February 11, 2013 10:53:05 PM +0100 Benin Technologies benintechnolog...@yahoo.fr wrote: thanks for that info how do you use that control ? I tried the following : ldapsearch -x -W -D cn=admin,dc=company,dc=com -b ou=people,dc=company,dc=com -s subtree -e

Re: weighted valsort for telephone Numbers

2013-02-11 Thread Benin Technologies
thanks for that perl snippet it would be great to make it work with ldapsearch though, I'll make another post to see if someone has ever used it with ldapsearch Le 12/02/2013 00:33, Bill MacAllister a écrit : --On Monday, February 11, 2013 10:53:05 PM +0100 Benin Technologies