Changing the domain user name and password (regardless to the DB type)
Bei diesem Knowledge Base Artikel handelt es sich um einen Archiveintrag, der 1:1 aus den FAQv1 Beiträgen übernommen wurde. Er dient dazu, auch Lösungen für ältere Versionen nach wie vor anzubieten und durchsuchbar zu machen.
Archiv
SYMPTON
When launching the console, the following error message appears
Failed to obtain handle on user
CAUSE
Changing the password or username for the domain user used by Safend in AD and not through the Safend console will prevent the password from being recognized by Safend. The Domain service will fail to start hence the console will not start.
SOLUTION
There are 2 alternative methods for solving this issue*
Method #1 - Running the Domain service in -debug
-----------------------
1. Login to the server machine with a an administrator user (local administrator will suffice as well).
2. Open cmd, go to the following path:
<nobr>C:Program FilesSafendSafend ProtectorManagement Serverbin</nobr>
3. Run the SPDOmainservice.exe file with the -debug switch. This file is the domain service process. The string in cmd should be:
<nobr>C:Program FilesSafendSafend ProtectorManagement Serverbin> SPDOmainservice.exe -debug</nobr>
4. Leave the cmd window open.
5. Go to the desktop and double-click on the management console icon.
6. The console will then be launched; go to Administration -> General tab, and change the domain credentials to the desired ones.
Method #2 - Using the SPAdmin tool
-----------------
An external tool, "SPAdmin", can run on the server machine in order to change the domain user password.
Note:
In any version prior the 3.2.24940 the tool should be received from support@safend.com, since it is not a part of the Safend package. In version 3.2.24920 or above this tool can be find in the bin folder of the server - <nobr>C:Program FilesSafendSafend ProtectorManagement Serverbin</nobr>.
*Changing the Username-
4. In CMD run the following command: "[Path]spadmin.exe /updateconfig /getval domainUserName"
***"Path" is either the bin folder mentioned above or the folder in which you have the spadmin file extracted to.
5. See that your old username value was found.
6. Run the following command: "[Path]spadmin.exe /updateconfig /setval domainUserName [NewUsername]"
7. Use "getval" from step 4 to check that your username was changed to the new value.
*Changing the Domain-
In CMD run the following command: "[Path]spadmin.exe /updateconfig /getval domainUserDomain"
***"Path" is either the bin folder mentioned above or the folder in which you have the spadmin file extracted to.
See that your old username value was found.
Run the following command: "[Path]spadmin.exe /updateconfig /setval domainUserDomain [NewDomain]"
Use "getval" from step 4 to check that your username was changed to the new value.
*Changing the password-
8. In CMD run the following command: "[Path]spadmin.exe /updateconfig /getval domainUserPassword"
9. See that your old password value was found.
10. Run the following command: "[Path]spadmin.exe /updateconfig /setval domainUserPassword [NewPassword]"
11. Use "getval" from step 8 to check that your password was changed to the new value.
12. Go to My Computer-> manage-> services-> Safend domain service-> properties
13. In the "log on" option, update the new user and/or password.
14. Restart the machine.
15. Login to the console.
*Note In case of need to change the credentials in a 3.1 console, only the first method will be applicable.
**Note In case you need to change only the domain user password, please disregard steps 4-7.