[Date Prev][Date Next] [Chronological] [Thread] [Top]

search with (uidNumber>=1900) got "text: inappropriate matching request"



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