<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: issue with openldap/kerberos in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108352#M33593</link>
    <description>&lt;P&gt;LDAP 49 errors can mean a lot of different things. Can you please check the logs from the LDAP server for the specific error cause? This is very likely a bad password error...&lt;/P&gt;&lt;P&gt;Atlassian has a good explanation of the different error codes: &lt;A href="https://confluence.atlassian.com/kb/common-user-management-errors-820119309.html"&gt;https://confluence.atlassian.com/kb/common-user-management-errors-820119309.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 02 Jul 2016 02:04:32 GMT</pubDate>
    <dc:creator>ewalk</dc:creator>
    <dc:date>2016-07-02T02:04:32Z</dc:date>
    <item>
      <title>issue with openldap/kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108351#M33592</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have been trying to setup Openldap following steps&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/abajwa-hw/security-workshops/blob/master/Setup-OpenLDAP-PAM.md" target="_blank"&gt;https://github.com/abajwa-hw/security-workshops/blob/master/Setup-OpenLDAP-PAM.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However getting stuck at this error (also ldapadmin UI doesn't come up)&lt;/P&gt;&lt;P&gt;[root@sandbox ldif]# ldapsearch -W -h localhost -D "cn=admin,dc=hortonworks,dc=com" -b "dc=hortonworks,dc=com"
Enter LDAP Password:
ldap_bind: Invalid credentials (49)&lt;/P&gt;&lt;P&gt;Please let me know if any more information required. Thanks for any help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Avijeet&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:28:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108351#M33592</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2022-09-16T10:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: issue with openldap/kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108352#M33593</link>
      <description>&lt;P&gt;LDAP 49 errors can mean a lot of different things. Can you please check the logs from the LDAP server for the specific error cause? This is very likely a bad password error...&lt;/P&gt;&lt;P&gt;Atlassian has a good explanation of the different error codes: &lt;A href="https://confluence.atlassian.com/kb/common-user-management-errors-820119309.html"&gt;https://confluence.atlassian.com/kb/common-user-management-errors-820119309.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2016 02:04:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108352#M33593</guid>
      <dc:creator>ewalk</dc:creator>
      <dc:date>2016-07-02T02:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: issue with openldap/kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108353#M33594</link>
      <description>&lt;P&gt;Thanks Eric,&lt;/P&gt;&lt;P&gt;I forgot to add the exact error I see in logs (after enabling tracing), It's &lt;STRONG&gt;DB_NOTFOUND: No matching key/data pair found (-30988)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; 
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jun 23 06:06:59 sandbox slapd[17980]: &amp;gt;&amp;gt;&amp;gt; dnPrettyNormal: &amp;lt;cn=admin,dc=hortonworks,dc=com&amp;gt;
Jun 23 06:06:59 sandbox slapd[17980]: &amp;lt;&amp;lt;&amp;lt; dnPrettyNormal: &amp;lt;cn=admin,dc=hortonworks,dc=com&amp;gt;, &amp;lt;cn=admin,dc=hortonworks,dc=com&amp;gt;
Jun 23 06:06:59 sandbox slapd[17980]: conn=1002 op=0 BIND dn="cn=admin,dc=hortonworks,dc=com" method=128
Jun 23 06:06:59 sandbox slapd[17980]: do_bind: version=3 dn="cn=admin,dc=hortonworks,dc=com" method=128
Jun 23 06:06:59 sandbox slapd[17980]: ==&amp;gt; bdb_bind: dn: cn=admin,dc=hortonworks,dc=com
Jun 23 06:06:59 sandbox slapd[17980]: bdb_dn2entry("cn=admin,dc=hortonworks,dc=com")
Jun 23 06:06:59 sandbox slapd[17980]: =&amp;gt; bdb_dn2id("cn=admin,dc=hortonworks,dc=com")
Jun 23 06:06:59 sandbox slapd[17980]: &lt;STRONG&gt;&amp;lt;= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30988)
&lt;/STRONG&gt;Jun 23 06:06:59 sandbox slapd[17980]: send_ldap_result: conn=1002 op=0 p=3
Jun 23 06:06:59 sandbox slapd[17980]: send_ldap_result: err=49 matched="" text=""
Jun 23 06:06:59 sandbox slapd[17980]: send_ldap_response: msgid=1 tag=97 err=49
Jun 23 06:06:59 sandbox slapd[17980]: conn=1002 op=0 RESULT tag=97 err=49 text=
Jun 23 06:06:59 sandbox slapd[17980]: daemon: activity on 1 descriptor
Jun 23 06:06:59 sandbox slapd[17980]: daemon: activity on:&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Avijeet&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 12:08:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108353#M33594</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2016-07-04T12:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: issue with openldap/kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108354#M33595</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11016/avijeetd.html" nodeid="11016"&gt;@Avijeet Dash&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please check this link and let me know if this helps - &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/kbentry/30653/openldap-setup.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/30653/openldap-setup.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 12:53:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108354#M33595</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-07-04T12:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: issue with openldap/kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108355#M33596</link>
      <description>&lt;P&gt;Thanks Sagar, by doing step#5 and 7 - my openldap started working.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 17:37:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108355#M33596</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2016-07-04T17:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: issue with openldap/kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108356#M33597</link>
      <description>&lt;P&gt;That sounds right given the error message.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 20:31:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108356#M33597</guid>
      <dc:creator>ewalk</dc:creator>
      <dc:date>2016-07-05T20:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: issue with openldap/kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108357#M33598</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;@Sagar Shimpi&lt;/A&gt; Hi Sagar, when I follow all the steps as in this document, I get the below error&lt;/P&gt;&lt;P&gt;[root@sandbox ldap]# ldapsearch –x –b “dc=example,dc=com”
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)&lt;/P&gt;&lt;P&gt;All other commands worked except ldapserach.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Avijeet&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 14:29:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108357#M33598</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2016-07-21T14:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: issue with openldap/kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108358#M33599</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;@Sagar Shimpi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It worked fine with &lt;/P&gt;&lt;P&gt;ldapsearch -W -h localhost -D "cn=Manager,dc=example,dc=com" -b "dc=example,dc=com"&lt;/P&gt;&lt;P&gt;There is a bug in the document at step 5 - where it says &lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;olcRootDN:cn=Manager,dc=dm,dc=com&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;It should be &lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;olcRootDN:cn=Manager,dc=example,dc=com&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Avijeet&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:14:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108358#M33599</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2016-07-21T17:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: issue with openldap/kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108359#M33600</link>
      <description>&lt;P&gt;Thanks avijeet. I corrected this.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:43:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/issue-with-openldap-kerberos/m-p/108359#M33600</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-07-21T17:43:29Z</dc:date>
    </item>
  </channel>
</rss>

