[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
search with (uidNumber>=1900) got "text: inappropriate matching request"
- To: openldap-technical@openldap.org
- Subject: search with (uidNumber>=1900) got "text: inappropriate matching request"
- From: Zhang Weiwu <zhangweiwu@realss.com>
- Date: Tue, 07 Sep 2010 10:01:09 +0800
- Organization: Real Softservice
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Mnenhy/0.8.2 Thunderbird/3.0.4
Hello. I am not quiet sure why a search with (uidNumber>=1900) got
"text: inappropriate matching request".
I've checked that uidNumber is mentioned and commented in nis.schema on
my openldap-2.4.10 on Debian. Thus it should be a built-in attribute. It
is of integerMatch
Can you give some hint how to search for all users with uid greater than 1900? Thanks!
Test case:
$ ldapsearch -xD uid=supertuxadmin,ou=contacts,ou=china,dc=ahk,dc=de -b ou=contacts,ou=china,dc=ahk,dc=de '(uidNumber>=1900)' o uidNumber
# extended LDIF
#
# LDAPv3
# base <ou=contacts,ou=china,dc=ahk,dc=de> with scope subtree
# filter: (uidNumber>=1900)
# requesting: o uidNumber
#
# search result
search: 2
result: 0 Success
text: inappropriate matching request
# numResponses: 1