我正在尝试在 Fedora Core 13 上设置和配置 OpenLDAP。我已经编译和安装了OpenLDAP v2.4.23。
每当我尝试运行其中一个 LDAP 命令(例如ldapsearch)时,我都会收到以下错误消息:
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Local error (-2)
additional info: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Credentials cache file '/tmp/krb5cc_0' not found)
Run Code Online (Sandbox Code Playgroud)
我在 Google 上查到了这一点,一个解决方案似乎是首先使用kinit配置 Kerberos 使其正常工作。
但是,我不想在我的系统上使用 Kerberos。是否有可能使 OpenLDAP 完全不使用 Kerberos?我需要使用合适的选项进行编译吗?或者我必须将Kerberos 与 OpenLDAP 一起使用?