16

I am getting the error while running ldapsearch command and client side authentication also not coming.

Could anyone please help me to sort out the problem ?

ERROR MESSAGE

ldap_sasl_interactive_bind_s: No such attribute (16)

Thanks.

Thirumoorthi
  • 508
  • 1
  • 6
  • 13

1 Answers1

30

The -x switch uses simple authentication instead of of the default SASL. So use something like this:

ldapsearch -x -h 192.268.0.78 -p 389 cn=root,ou=People,dc=example,dc=com

Greg Dubicki
  • 5,983
  • 3
  • 55
  • 68
Shantanu
  • 2,206
  • 18
  • 16
  • Wow, well this fixed my problem, but why?? My ldapsearch call involves neither authentication nor encryption :-? – Mike B Jun 26 '20 at 20:55