How do I get the operational attribute?
I want to read the schema and displays what are the attributes based on the objectclass that user selects. It does display fine all the available attributes. However, I coundn't figure out how to display the operational attributes for a particular objectclass.
Anyone here can give me a clue?
Thanks
[326 byte] By [
706258] at [2007-11-25 8:38:46]

Operation attributes need to be explicitly be returned.
How to get a list of all of the operational attributes:
./ldapsearch -1 -T -b "cn=schema" "objectclass=*" attributetypes | grep directoryOperation
Once you have the list of operational attributes you search against the directory an include those in your return filter. Unfortunately, I don't know how to return all of the attributes without including all of them in the return filter. If you are using the Java SDK you could use the LDAPConnection.ALL_USER_ATTRS in your return array.