Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-7002: Unable to Connect to a Local DB2 database as a user in /etc/passwd

Centrify DirectControl ,   Centrify DirectControl Plugins ,   Centrify DirectSecure ,  

21 June,16 at 05:18 PM

Applies to: All version of Centrify Suite with DB2.

Problem:

Unable to authenticate into a DB2 instance when passing in a user ID and password that is located in the /etc/passwd file. AD accounts work and local accounts work when not passing in the user ID and password.

Resolution:
The parameters in the /etc/pam.d/centrifydc_db2userpass file are formatted incorrectly.  The format should be changed from:


auth required pam_stack.so service=system-auth
auth required pam_nologin.so
account required pam_stack.so service=system-auth


to

auth include system-auth
auth required pam_nologin.so
account include system-auth


After making this change, please restart adclient and 
then re-try the DB2 authentication with the user ID and password for a user in the /etc/passwd file again.

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.