COMMS Delegated Admin Password Reset
By dabrain on Dec 02, 2009
If you need to reset the Delegated Admin Password for COMMS you need to take care about Messaging Server and Convergence as well.
Setup a new password for the Delegated Admin user ( dn: uid=admin,ou=People,o=domain.tld,o=isp ), I prefer to do such LDAP tasks with the Apache Directory Studio.
Now you able to login in into Delegated Administrator and perform tasks like add/modify/delete user or domains. But if you login as user into Convergence you will get the following error message.
At this point you need to configure Messaging Server and Convergence with the new password, as they still use the old password for the admin user you will run into this issue.
Setup Messaging Server admin password, could be done with the configutil command at /opt/sun/comms/messaging64/sbin
./configutil -o local.service.proxy.adminpass -v newpassword
As well you need to configure Convergence with the new admin password with iwcadmin command at /opt/sun/comms/iwc/sbin
./iwcadmin -u admin -w iwcadminpass -o mail.proxyadminpwd -v newpassword
Restart Messaging Server and the Web Container where Convergence is deployed usually at Glassfish Application Server.
Last but not least you need to update the last saveState file with the new password, otherwise you run in trouble next time you install a Convergence Patch, as the post patch script will use the password value from the saveState file.
java -cp /var/opt/sun/comms/iwc/WEB-INF/lib/iwc-shared-util.jar com.sun.comms.shared.util.EncryptInstallPasswd newpassword
Use the output from the above command and modify the last saveState file, for example it is located at /opt/sun/comms/iwc/install/Iwc-config_20091001150607
iwc.webMailAdminUserID = admin
iwc.webMailAdminPass = akeofnpoyuklukaxatexhorhnrjcnffjbeq