LDAP Users and Groups Module Doesn't Activate

THe LDAP Users and Groups module won't activate until a symlink is created from /etc/ldap.conf to /etc/openldap/ldap.conf.

Status: 
Closed (fixed)

Comments

Which Linux distribution and version are you running there?

Latest version of Cent OS 6.5 on this environment (installed and fully updated as of yesterday).

Which package contains /etc/openldap/ldap.conf on your system? You can find out with the command :

rpm -q -f /etc/openldap/ldap.conf

openldap-2.4.23-32.el6_4.1.x86_64

I think that is the wrong LDAP config file for use by NSS.

You should install the packages nss-pam-ldapd and pam_ldap , which contain the file /etc/ldap.conf that is used when authenticating users.

I have those packages as well:

[root@ut-dev-mgmt-01 ~]# yum install pam_ldap nss-pam-ldapd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.compevo.com * extras: centos.mirror.lstn.net * updates: centos.gravityfish.com Setting up Install Process Package pam_ldap-185-11.el6.x86_64 already installed and latest version Package nss-pam-ldapd-0.7.5-18.2.el6_4.x86_64 already installed and latest version Nothing to do [root@ut-dev-mgmt-01 ~]#

Ok, thanks - it looks like that config file has moved in newer CentOS versions. I will have Webmin looks in both places in the next release.

Automatically closed -- issue fixed for 2 weeks with no activity.