2

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.

MyTitle
  • 501
  • 1
  • 8
  • 18

2 Answers2

1

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.

Steve
  • 11
  • 1
0

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/

c4f4t0r
  • 5,149
  • 3
  • 28
  • 41