Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a list of values I can use for objectClass and objectCategory?

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

like image 576
nhat Avatar asked Feb 22 '12 20:02

nhat


People also ask

Which of the following are types of objectClass?

An object class can be one of three types, structural, abstract, and auxiliary.

What is objectCategory in Active Directory?

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.

What is objectClass top in LDAP?

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.

What are classes and attributes in Active Directory?

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.


1 Answers

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.

like image 130
Terry Gardner Avatar answered Nov 26 '22 20:11

Terry Gardner