NWDSGenerateObjectKeyPair & NWDSGenerateKeyPairEx Incorrectly Set Password Expiration Date

  • 7008830
  • 16-Jun-2011
  • 29-Apr-2013

Environment

Novell NetWare 6.5 Support Pack 8

Situation

We have found the following NetWare API calls behave in a manner not expected:
 
1.  NWDSGenerateObjectKeyPair
2.  NWDSGenerateKeyPairEx
 
If either of these APIs are used, both will change the user password as expected; however, both will incorrectly set the value of the "Password Expiration Date" when the user account has "Force periodic password changes" enabled.
 
As an aside, it has been found that the value of the "password type" parameter is irrelevant with this issue.  It does not matter if a "0" is passed in, or each type of iterated through; the response is the same.
 
 
This issue has been duplicated and given to NetWare development; however, no fix for this problem is planned.