I'm new to LDAP queries so I have been reading up on it to use in my application since I want to use filters to get certain results against Active Directory. I'm still a little confused and just want some clarification on somethings.
It seems like for objectClass theres User, Contact and inetOrgPerson For example:
(&(objectClass=user))
For objectCategory Person, Computer, and Group.
Is there more values to objectClass and objectCategory besides the ones I listed?
Also is this a good list of most if not all the attributes and classes for objectClass and objectCategory?
http://www.zytrax.com/books/ldap/ape/#objectclasses
An object class can be one of three types, structural, abstract, and auxiliary.
Each instance of an object class also has an objectCategory property, which is a single-valued property that contains the distinguished name of either the class of which the object is an instance or one of its superclasses.
top is an abstract object class that is the parent of every LDAP object class. It is the one that defines that every object in LDAP must have an objectClass attribute.
Each object in Active Directory is an instance of a class in the schema. A user object, for example, exists as an instance of the user class. Attributes define the pieces of information that a class, and thus an instance of that class, can hold. Syntaxes define the type of data that can be placed into an attribute.
The correct and authoritative source for LDAP attribute and objectClasses is IETF, not zytrax. There are number of RFCs describing (more or less) standardized object classes and attributes. Each vendor may have objectClasses and attributes specific to their implementation, consult the vendor documentation for this information, although strictly speaking, applications should not be coded with knowledge of an implementation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With