OID ldapsearch Not Displaying the Requested Operational Attributes And Their Values (Such As pwdaccountlockedtime, pwdfailuretime, etc)
(Doc ID 944222.1)
Last updated on NOVEMBER 24, 2021
Applies to:
Oracle Internet Directory - Version 10.1.2 and laterInformation in this document applies to any platform.
Symptoms
Ldapsearch filters not showing, or consistently showing, values for requested operational attributes, such as attributes that store time stamps, even though the attributes are verified to be indexed and contain values. This can also affect custom code, i.e., dbms_ldap or java code searches.
The following or similar symptoms can occur:
Symptom 1:
When searching for locked accounts, the ldapsearch results does not display / return the pwdaccountlockedtime attribute/value pair requested.
Other attributes requested are returned ok in the search results, including perhaps other operational attribute types such as orclguid.
For example:
Returns only the first three of the four attributes requested:
orclguid=<GUID>
cn=<USERNAME>
Symptom 2:
An ldapsearch requesting a single operational attribute does not return its name/value pair in the
search results. When requesting an additional attribute, i.e., two or more, then the search returns the expected results ok.
For example, the following ldapsearch does not does not return pwdaccountlockedtime even when the account is locked and the attribute is populated:
myguid=<GUID>,dc=<COMPANY>,dc=com
But when adding another attribute to be retrieved, then it lists all the expected values ok:
myguid=<GUID>,dc=<COMPANY>,dc=com
pwdchangedtime=20080721112958z
pwdaccountlockedtime=20080728153023z
The same behaviour can happen for other attributes, such as pwdfailuretime for example.
Changes
OID schema defnition default values for the attribute(s) in question were changed.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |