ldapsearch -Z -x QUERY I can query the ldap server configured in
/etc/ldap/ldap.conf. When I leave out the
-Z, I just don't get any search results and without
-x, I am seeing the error
ldap_sasl_interactive_bind_s: No such attribute (16)
ldapsearch picks up all needed information from my
/etc/ldap/ldap.conf, what do I have to put there, so that all the PAM and NSS stuff, that I am trying to configure to use LDAP, works? Apparently, the configuration as-is doesn't really work, as I need to specify the
-Z parameters on the command line.
The system is debian squeeze, if that is of any importance.