HomeUNIXSolving ldap_sasl_interactive_bind_s error with ldapsearch or ldapmodify

Solving ldap_sasl_interactive_bind_s error with ldapsearch or ldapmodify

This error message is commonly found when using the OpenLDAP ldapsearch, ldapmodify, ldapadd or other ldap command line utilities against non-OpenLDAP servers such as Sun’s SunONE/iPlanet, IBM’s Tivoli, or Novell directory servers. This tech-recipe explains the error and describes how to solve it.


OpenLDAP uses SASL (Simple Authentication and Security Layer) by default, while most other LDAP servers do not.

If you are not interested in enabling SASL on the target LDAP server, you can use simple authentication by adding the -x command line option to the ldap commands.

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

5 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

Recent Comments

Cleveland Furia on How to Clear Google Activity
Sid Wohlfarth on How to Clear Google Activity
Riley Magsayo on How to Clear Google Activity
สมัครรับเครดิตฟรี ทันที on How to improve Remote Desktop Protocol Performance
Neal Wangstad on How to Clear Google Activity
Slavcho Andov on How to install Ubuntu
Slavcho Andov on How to fix bad sectors
Sheraz Ali on How to Backup Android