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

uidNumber and >= filter



I'd like to do a search like the following:

ldapsearch '(&(objectClass=posixAccount)(uidNumber>=1024))'

Watching the server logs I see the following:

filter="(&(objectClass=posixAccount)(badfilter))"

Searching the archives of the mailing list leads me believe that
this is due to the schema entry for uidNumber.  Previous emails
with similar problems received replies about the EQUALITY setting
for the attribute.  What would be required for this sort of search
to work?  The admin guide and RFC 2252 seem a little out of sync on
this topic.

attributetype ( 1.3.6.1.1.1.1.0 NAME 'uidNumber'
    DESC 'An integer uniquely identifying a user in an administrative domain'
    EQUALITY integerMatch
    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

Thanks,

Jason