Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to configure LDAP auth in DB2. From IBM docs I learned that first I need to configure LDAP authentication in operating system. But in documentation described old way of configuring LDAP for Operating system. RedHat recommends to use only new SSSD tool.

So, I configured it using SSSD (but without SSL, setting FORCELEGACY parameter in authconfig file to YES). Now I can login to system as LDAP user.

But one of the step (step 1.e) in IBM docs assumes that we use old way of LDAP configuring (I think so). So I can't properly configure LDAP authentication in DB2.

Can anyone help me to configure LDAP auth on DB2 9.7 when we use SSSD? I use CentOS 6.3.

share|improve this question

2 Answers 2

For the next user that needs to do this, the correct answer is, if you are using sssd for ldap, then

inside the /etc/pam.d/db2 file created as part of the IBM directions, replace "pam_ldap.so" with "pam_sss.so" and it will work.

share|improve this answer

It Depend how you can configured your ldap auth, if you set FORCELEGACY=yes in /etc/sysconfig/authconfig and your system will uses the redhat 5 configuration mode, this file /etc/sysconfig/authconfig is for authconfig command, so if you are using sssd, maybe you configured by hand or you got FORCELEGACY=no (default in redhat 6)

The link below can help you, anyway if you give more information about what problem you found, configuring sssd, we can try to help you

Sorry for the external link http://www.linuxquestions.org/questions/linux-enterprise-47/rhel-6-ldap-now-requires-tls-843917/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.