728x90


Problem(Abstract)

What to check when you receive error -952 "User's password is not correct for the database server"

Symptom

When you connect to a database you receive error -952 "User's password is not correct for the database server"

Cause

The error message indicates the authentication failed due to an invalid password. Under certain circumstances, error -952 could be returned even when the password is correct.

Possible causes are:


If you are using password shadowing, the following are also possible causes of this error:

154706 CANNOT CONNECT TO DATABASE SERVER AFTER IMPLEMENT ENHANCED SECURITY (C2LEVEL) on COMPAQ TRU64 V5.1 (ERROR 952)

Resolving the problem

Here are some hints on what you must consider when receiving error -952:

    Example:
       telnet <informix server hostname>

      Renew the password if you get an error saying that the password expired.
    Example:

    cd $INFORMIXDIR
    ls ./bin/oninit

    -rwsr-sr--   1 root     informix 8163428 Jul 23  2003 oninit

If your system uses shadow password, check the following:


WORKAROUND

If you are using password shadowing, try the following as a temporary solution. Please note this is only a temporary solution. Copying the shadow password will create a security breach and will go against the whole logic of using shadow passwords.

1. Find in the /etc/passwd file, the entry corresponding to the user.
    Example:

    informix:x:200:200:InformixAdministrator:/home/informix:/bin/ksh

    where x represents that the password is a shadow password


2. Find in the shadow file (etc/security/passwd for AIX, /etc/shadow for RedHat, Solaris, HP11i) the entry corresponding to the user.
    Example:

    informix:ow3/GUDb8r2rk:12103::::::

3. Find the shadow password (second field), from the entry from the shadow file

4. Copy the encrypted password from step 3. to the second position in the /etc/passwd file, corresponding to the password.
    Example:

    After the update, the entry in the /etc/passwd file will look like the following:

    informix:ow3/GUDb8r2rk:200:200:InformixAdministrator:/home/informix:/bin/ksh

Alternatively, if you are using password shadowing, try to temporarily disable shadow password use.



https://www-304.ibm.com/support/docview.wss?uid=swg21177527

728x90

+ Recent posts