Thank you! Now it starts making more sense to me ! I'm not use SSL.
I'm still getting an error when performing ldpasearch:
ldapsearch -D "cn=someuser,dc=rr,dc=local" -W
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
My Windows AD server is prod.rr.local, I added it to hosts file so it can be resolved. AD administrative user is for example "someuser".
This is what I have in /etc/openldap/ldap.conf:
in /etc/pam_ldap.conf I have:
rootbinddn cn=someuser,dc=rr,dc=local (Not sure if I needed this line?)
Is this is all I need to be able to peform ldapsearch command?