I have a windows ldap client setup and I have been able to connect to it using the gui ldap admin client. When I try to connect to it using my ubuntu 12.04 client I get the following error in my auth.log:
Aug 21 16:38:20 uby getent: nss_ldap: failed to bind to LDAP server
ldap://pdc.ad.company.com:389: Invalid credentials
We need to connect our php script to LDAP over tls using a certificate. LDAP connection works nicely without tls. More details here http://stackoverflow.com/questions/15260252/how-to-use-multiple-tls-cert...
We managed to connect via tls from Windows using Softerra LDAP Browser.
The situation is a separate group has created an LDAP domain. We'll call it foo.bar. (fyi, none of these are connected in any way to the Internet) They also have a Windows domain and renamed it to foo.bar so, in their words, they can connect the two so it becomes one domain in the future.
At this point I'm lost because I don't know enough about LDAP on RHEL.
can anyone tell me what is the difference between these two files of LDAP client /etc/ldap.conf and /etc/ldap/ldap.conf and for what purposes these two files gives services. Is it necessary to have these two files at a time ?