My Oracle Support Banner

[OID] Initial Password Expiry Time: 0 is Wrong Displayed in ODSM (Doc ID 2863124.1)

Last updated on APRIL 20, 2022

Applies to:

Oracle Internet Directory - Version and later
Information in this document applies to any platform.


--Fresh install of OID.
-- Using ODSM to view the default password policy
DN: cn=default,cn=pwdPolicies,cn=Common,cn=Products,cn=OracleContext,dc=<DN>
It shows  "Password Expiry Time: 0 seconds

However, searching the password policy at command line shows:

  dn: cn=default,cn=pwdPolicies,cn=Common,cn=Products,cn=OracleContext,dc=<DN> 

with pwdmaxage=10368000 (which correspond to 120 days)


Steps to reproduce testcase
1.  Install fresh OID
2. check in ODSM for cn=default,cn=pwdPolicies,cn=Common,cn=Products,cn=OracleContext,dc=<DN> it is "Password Expiry Time: 0 seconds"
3.  ldapsearch -p 3060 -D cn=orcladmin -w <PASSWORD> -s sub -b "cn=default,cn=pwdPolicies,cn=Common,cn=Products,cn=OracleContext,dc=<DN>" objectclass=* pwdmaxage
    -> there is in output:pwdmaxage=10368000


 Install fresh OID


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.