I have been asked to modify one of these to produce the correct results.
Currently it reads:
(|(objectClass=user)(objectClass=contact)(objectCl ass=publicFolder)(objectClass=Group))
whereas the Help information for the program which uses the filter shows as an example:
(|(objectCategory=user)(objectCategory=contact)(ob jectCategory=group))

I have no idea whether 'class' or 'category' is correct! (Perhaps they have the same meaning?)

The requirement is to extract all the users, and just the users, from AD (I have no idea what the category or class of "contact" means...)

So should my filter just be
(objectClass=user)
or
((objectClass=user))
or the same with Category instead of Class?

I'd prefer to have an expert opinion before actually trying it, because cleaning up errors after the event is significantly tedious!

Thanks