timeout while submitting data into ldapaccount

HI ALL

Issue concerns to v8.1.4

We run custom script to update LDAPAccount userPassword attribute by calling the following sample code:

dbEntity.PutValue("UserPassword",Password)

Try
    Session.Variables.Put("HIGHPRIORITY", True)
    Session.Variables.Put("CCC_PASSWORD_RESET", True)
    Session.Variables.Put("RESETID", UID_CCCPwdReset)
    
    Using u = Session.StartUnitOfWork
        u.Put(dbEntity)
        u.Commit()
    End Using
    
    Session.Variables.Remove("HIGHPRIORITY")
    Session.Variables.Remove("CCC_PASSWORD_RESET")
    Session.Variables.Remove("RESETID")
Catch Ex As Exception
    RaiseMessage(MsgSeverity.Serious, "Submit RACF password into LDAPAccount failed. Error message: " & Ex.ToString())
    Return Ex.Message
End Try

Return ""

but frequently the process step calling the script ends with error "One or more errors occured." 

Please note that the script is not ending in Catch statement though.

Can you please advise how to proceed so the error does not occur any more?

Parents Reply
  • Hi Markus

    I am getting the following error: The value of 'Password' on 'LDAP account' did not match the password policy restrictions of 'One Identity Manager password policy'.

    I have tested a couple of random passwords on the default and ldap password policies but neither complained about above condition.

    Can you please advise what steps should I take to align the policies? 

Children