LDAP sense oddities in Webmin 1.881

I'm working on setting up LDAP with multi master replication for virtualmin failover. I got to a point where replication is functional, and was putting the final touches on getting webmin to talk to LDAP before moving to Virtualmin specific steps. First, Webmin won't move 'LDAP Users and Groups' from Unused. It's working and configured. Second issue is that System->LDAP client was working and accessible across three servers. After going into the module configuration for it and clicking save, two servers now say "The NSS-LDAP configuration file was not found on your system." The third I didn't dare go into module settings.

What info can I give you to help you diagnose? I'm a bit new to the LDAP config - mostly puzzled pieced together from various sources, but two out of three servers are to the point where getent at least returns an LDAP user.

Status: 
Active

Comments

I think those are three symptoms of the same problem. In the LDAP Client module, if you click on the Module Config link (the gear), is the "NSS-LDAP configuration file" set correctly?

All options in that menu are left at "From config file" on all three servers. If I define all the options explicitly, there is no change.

What about the "LDAP client configuration file" field?

Files:»
File: screenshot_1.png

There is no option for that(see attached screenshot)

That's odd ... can you post the contents of your /etc/webmin/ldap-client/config file?

It should contain a line starting with auth_ldap= that refers to the location of the LDAP client config file.

Sorry for the delay. On the boxes where it does not work, all options in /etc/webmin/ldap-client/config have no values. On the the boxes where the module does work, it's as below.

auth_ldap=/etc/nslcd.conf
secret=/etc/ldap.secret
init_name=nslcd

What's odd is that /etc/ldap.secret is missing on both boxes.

If all systems are running the same OS, you could fix this by just copying /etc/webmin/ldap-client/config from a working system.