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 Le 11/02/2013 22:05, Bill MacAllister a écrit :
--On Monday, February 11, 2013 09:42:55 PM +0100 Benin Technologies <benintechnologies@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 : it's quite impossible to delete/modify a weighted entry, because you need to include the weight ({3} for example) in the LDIF delete/modify instruction file. Given that the weight value is never returned by searches, it's impossible to know that weight, thus impossible to delete the attribute, unless that information has been stored somewhere else)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. Bill