unity conn password recovery

3
Password Recovery Procedure for the Cisco Unity Connection Document ID: 68400 Contents Introduction Prerequisites Requirements Conventions Step-by-Step Procedure Unlock Unity Connection Administrator Account Solution Recover Unity Connection Password Related Information Introduction This document describes how to recover a password on a Cisco Unity Connection system. This can be used to change the System Administrator (SA) or Telephone User Interface (TUI) password (by using the correct value for the CredentialType parameter) for any user on the system as long as you have local access to the box and read/write access to SQL. Prerequisites Requirements There are no specific requirements for this document. Conventions Refer to Cisco Technical Tips Conventions for more information on document conventions. Step-by-Step Procedure A stored procedure is used to change the password (either the SA or the TUI PIN). Complete these steps in order to do this: Open up a database viewer. You can use CUDLE in this case since it ships on every Cisco Unity/Cisco Unity Connection installation. CUDLE is located in the Tools Depot under the Diagnostic Tools section. 1. Get the ObjectID of the user you want to change the password/PIN for. In this case, go to the vw_User view, find the Administrator and right-click on the ObjectID column in order to select and copy it to the clipboard. 2. Choose View > Stored Procedures. 3. Select the csp_CredentialModify stored procedure and press the Execute button. 4.

Upload: ciscolifeguard

Post on 20-Oct-2015

103 views

Category:

Documents


0 download

DESCRIPTION

Unity password recovery

TRANSCRIPT

  • Password Recovery Procedure for the Cisco UnityConnectionDocument ID: 68400

    ContentsIntroduction Prerequisites Requirements Conventions StepbyStep Procedure Unlock Unity Connection Administrator Account Solution Recover Unity Connection Password Related Information

    IntroductionThis document describes how to recover a password on a Cisco Unity Connection system. This can be used tochange the System Administrator (SA) or Telephone User Interface (TUI) password (by using the correctvalue for the CredentialType parameter) for any user on the system as long as you have local access to the boxand read/write access to SQL.

    PrerequisitesRequirements

    There are no specific requirements for this document.

    Conventions

    Refer to Cisco Technical Tips Conventions for more information on document conventions.

    StepbyStep ProcedureA stored procedure is used to change the password (either the SA or the TUI PIN). Complete these steps inorder to do this:

    Open up a database viewer.

    You can use CUDLE in this case since it ships on every Cisco Unity/Cisco Unity Connectioninstallation. CUDLE is located in the Tools Depot under the Diagnostic Tools section.

    1.

    Get the ObjectID of the user you want to change the password/PIN for.

    In this case, go to the vw_User view, find the Administrator and rightclick on the ObjectID columnin order to select and copy it to the clipboard.

    2.

    Choose View > Stored Procedures.3. Select the csp_CredentialModify stored procedure and press the Execute button.4.

  • A dialog box appears that displays each parameter. You can read about what each parameter does andwhat the stored procedures do in the data dictionary view on the stored procedure page. You need tocheck these three parameters:

    Make sure that the CredentialType is 3 (for SA access). Check that the strCredentials field is an unencrypted password. (It is encrypted for you by thestored process.)

    Verify the UserOBjectId you copied in step 2. Press Execute in order to finish this procedure.5.

    If you cannot reset the password for Unity Connection Administration using the previous steps, then completethese steps:

    Download the Administrator Password Reset Tool from the Cisco Unity Tools Depot.

    Note: This tool resets the Web access password for any account on a Cisco Unity Connection system.If someone has changed the Administrator account password or it is locked out, this tool resets it togain access to the SA again.

    1.

    Place the files pwreset.bat and pwreset.js from the ZIP in the C:\Program Files\CiscoSystems\Cisco Unity Connection\TechTools folder on the Cisco Unity Connectionserver.

    2.

    Open a command prompt, and change directories to the connection installation location TechToolsdirectory.

    3.

    Enter pwreset.4. Press Enter/Return.

    Note: You must supply quotes around your password if you use a comma in your password.Otherwise, special characters should work.

    5.

    Unlock Unity Connection Administrator AccountThe issue is not being able to login to the Cisco Unity Connection version 1.2(1) admin page to reset thepassword.

    Solution

    Set to techtools directory after you open the CLI window and run this command: dbreset . This will help you access the Cisco Unity Connection admin page with the new password.

    Recover Unity Connection PasswordUnity Connection 7.x runs on a MCS 7845 Server. The password for the Unity Connection Administrator islost. However, the password for Unified OS Administrator is known. These steps show how the UnityConnection password can be recovered:

    Login to the CLI of the server with the Unified OS administrator credentials.1. Enter show account. This displays the accounts in the system and you receive the username.

    Admin: show accountAccount = Administrator, Privilege = 4

    2.

    Issue the utils cuc reset password command, where is the username ofthe account used for the Unity Connection administration page that needs the password.

    3.

  • Admin: utils cuc reset password AdministratorPassword:Password:

    Update failed: Code = 1, Authorization Failure.

    This error received when you try to get a new password is because of one of these issues:

    The password length is not correct for the new password. Always use 8 characters (can be letters ornumbers).

    The account you are trying to reset the password for is not a valid administrator account. In order toresolve this issue:

    Issue this commend via CLI: run cuc dbquery unitydirdb select alias fromvw_usernonsubscriber.

    1.

    If you can get another username, then rerun the utils cuc reset password command. This is the result:

    Password reset has been successful.

    2.

    Related InformationVoice Technology Support Voice and Unified Communications Product Support Troubleshooting Cisco IP Telephony Technical Support & Documentation Cisco Systems

    Contacts & Feedback | Help | Site Map 2012 2013 Cisco Systems, Inc. All rights reserved. Terms & Conditions | Privacy Statement | Cookie Policy | Trademarks ofCisco Systems, Inc.

    Updated: Dec 21, 2011 Document ID: 68400