0

我在 LDAP 中有一组条目,每个条目都有一个属性是 Json 格式,示例如下:

属性说明 价值
用户自定义属性 {"category":"creation","createdOn":"2021-10-25T10:38:58.198Z","updatedOn":"2021-10-25T10:38:58.198Z","createdBy":"1" ,"updatedBy":"1"}

我的问题是如何使用ldapsearchwith对属性--sortOder进行排序?user-custom-atts's

我已经尝试过,ldapsearch --baseDn ou=people,ou=sampel01,ou=identities --bindPassword password --sortOrder "user-custom-attrs:caseIgnoreJsonQueryMatch:=/category" --simplePageSize 10 --countEntries "(uid=*leonidas*)"DS服务器说“无法处理提供的服务器端排序请求控件,因为它引用了未定义的排序匹配规则 caseIgnoreJsonQueryMatch:=/category”

4

0 回答 0