30

I have a problem with adding filter for attribute, which exist not in all members of organization unit. I set filter like this^ (status=Active) But this property doesn't exist in half of members and server returns "unwilling to execute 53 error". I wonder how should I rewrite this filter query to make it work only for objects with this attribute? Thanks

Johnny_D
  • 4,592
  • 3
  • 33
  • 63

1 Answers1

58
  • To return entries that contain a populated status attribute, use a present filter, for example, (status=*).
  • To return entries that do not contain a status attribute, negate the present filter: (!(status=*)).
  • If the server is unwilling to execute, check that the status attribute is indexed for equality and presence. If do not have access to this information, check with the LDAP administrators in the appropriate organization.

see also

James Daily
  • 587
  • 6
  • 21
Terry Gardner
  • 10,957
  • 2
  • 28
  • 38