Cant reset Admin Password

Post Reply
qwerty

Cant reset Admin Password

Post by qwerty »

Hello, if possible if you can help, I have reset the ICS WebAdmin password before to “admin” “admin” no problem in the past using the command from the ‘Upgrade’ directory:

perl create_default_administrator.pl ldap://localhost:389/ ../etc/openldap/slapd.conf ../bin/

However, I am unable to now reset this password now. The customer lost power and the server shutdown abruptly and now I only have root access available. I have reboot several times and I have restarted the icsd several times as well. All services are running and started. Also, through TSA Maintenance I was able to synchronize the ICS database with the PCX no problem. Have you seen this before? Any idea’s?

PCX- R9.1 i160537a
ICS- R6.5.0.105d

Many thanks
C\
cavagnaro

Re: Cant reset Admin Password

Post by cavagnaro »

What error do you get if you do the script?
qwerty

Re: Cant reset Admin Password

Post by qwerty »

Thats the strange thing, there is no error... unless I dont see the error (maybe you could locate the error):
See below the output:

[root@<ICS_Server>upgrade]# perl create_default_administrator.pl ldap://localhost:389/ ../etc/openldap/slapd.conf ../bin/

Default administrator creation

Please type the default administrator external login
admin
Please confirm the external login
admin
../bin//ldapdelete -r -H ldap://localhost:389/ -x -D cn=administrator,ou=administration,o=company1,o=OmniTouchUC -w admin cn=admin,ou=administration,o=company1,o=OmniTouchUC
../bin//ldapmodify -a -H ldap://localhost:389/ -x -D cn=administrator,ou=administration,o=company1,o=OmniTouchUC -w admin -f translation/admin1.ldif
adding new entry "cn=admin,ou=administration,o=company1,o=OmniTouchUC"

adding new entry "cn=passwordData,cn=admin,ou=administration,o=company1,o=OmniTouchUC"

adding new entry "cn=XMLUserManagement,cn=admin,ou=administration,o=company1,o=OmniTouchUC"

../bin//ldapmodify -a -H ldap://localhost:389/ -x -D cn=administrator,ou=administration,o=company1,o=OmniTouchUC -w admin -f translation/admin3filled.ldif
modifying entry "cn=admin,ou=administration,o=company1,o=OmniTouchUC"

../bin//ldapmodify -H ldap://localhost:389/ -x -D cn=administrator,ou=administration,o=company1,o=OmniTouchUC -w admin -f translation/admin2.ldif
modifying entry "cn=profile_admin,ou=administration,o=company1,o=OmniTouchUC"
ldap_modify: Type or value exists (20)
additional info: modify/add: member: value #0 already exists

../bin//ldapmodify -H ldap://localhost:389/ -x -D cn=administrator,ou=administration,o=company1,o=OmniTouchUC -w admin -f translation/adminpwdate.ldif
modifying entry "cn=passwordData,cn=admin,ou=administration,o=company1,o=OmniTouchUC"


default administrator is now : admin admin
cavagnaro

Re: Cant reset Admin Password

Post by cavagnaro »

Ok maybe you restarted the password but is blocked...
If that is the case you will have to access to LDAP DB and unlock him. Just connect using some LDAP browser using the same credentials on the script
qwerty

Re: Cant reset Admin Password

Post by qwerty »

Problem Resolved:
Diagnosis- ICS cold shutdown due to a power outage.
Symptom- Could not log in as before using external authentication as an administrator or a user.
Resolution- As a correction to the above script for an "admin" GUI password reset, the true script is /opt/Alcatel-Lucent/Ldap/upgrade/create_default_admin.sh (and not the 'perl_create' script)
This script wasn't working because the authentication.xml file still had the external authentication section "plugin_ldap.properties" commented in; thus a local login as an administrator was still not going to be possible no matter how many times you change the local admin password. As soon as you comment that out and then restart ics services, you can then log in with "admin" "admin".... awesome.
Thanks for your response.
Post Reply

Return to “OmniTouch 8400 Instant Communication Suite”