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

Re: How to obtain Operations Attributes

On 3/25/11 11:44 PM, Suneet Shah wrote:

thanks for providing the link below.  According to the link it says that I
need to specify the list of operational attributes in order to be able to
obtain the values for them.
Is there a way to programatically determine the list of attributes that are
available for an object so that dynamically build that list?

You can pass the '+' special attribute, in combinaison to the special '1.1' attribute, to get the list of available operational attributes, and only those (excluding the values). Then you can select the ones that you want the values for, and resend a request with the specific attributes.

Keep in mind that Operational attributes are not associated with an ObjectClass. They are also specific to a server, except a few ones that are mandatory whatever the Ldap server you will address.

Bottom line, you'd better know which Op Attr you want to manipulate, and you also have to understand that most of them are purely for the server internal use.

Emmanuel LÃcharny