<?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: CDP 7.1.7 Kafka LDAP setup, add multiple LDAP domains in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351427#M236258</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;André,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am observing below error after updating &lt;SPAN&gt;LDAP User DN Template to {0}&lt;/SPAN&gt;. Fun part is without mentioning any domain, previous domain user is still able to connect but new domain user connectivity fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;22/09/02 08:20:02 WARN internals.AdminMetadataManager: [AdminClient clientId=adminclient-1] Metadata update failed due to authentication error&lt;BR /&gt;org.apache.kafka.common.errors.SaslAuthenticationException: Authentication failed: Invalid username or password&lt;BR /&gt;Error while executing topic command : org.apache.kafka.common.errors.SaslAuthenticationException: Authentication failed: Invalid username or password&lt;BR /&gt;22/09/02 08:20:02 ERROR admin.TopicCommand$: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.SaslAuthenticationException: Authentication failed: Invalid username or password&lt;BR /&gt;at org.apache.kafka.common.internals.KafkaFutureImpl.wrapAndThrow(KafkaFutureImpl.java:45)&lt;BR /&gt;at org.apache.kafka.common.internals.KafkaFutureImpl.access$000(KafkaFutureImpl.java:32)&lt;BR /&gt;at org.apache.kafka.common.internals.KafkaFutureImpl$SingleWaiter.await(KafkaFutureImpl.java:89)&lt;BR /&gt;at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:260)&lt;BR /&gt;at kafka.admin.TopicCommand$AdminClientTopicService.getTopics(TopicCommand.scala:333)&lt;BR /&gt;at kafka.admin.TopicCommand$AdminClientTopicService.describeTopic(TopicCommand.scala:288)&lt;BR /&gt;at kafka.admin.TopicCommand$.main(TopicCommand.scala:68)&lt;BR /&gt;at kafka.admin.TopicCommand.main(TopicCommand.scala)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2022 12:25:53 GMT</pubDate>
    <dc:creator>Uday483</dc:creator>
    <dc:date>2022-09-02T12:25:53Z</dc:date>
    <item>
      <title>CDP 7.1.7 Kafka LDAP setup, add multiple LDAP domains</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351063#M236137</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We enabled LDAP authentication on Kafka cluster and added below LDAP DN template so that it allows all the users from its domain. We are trying to allow users present in other domain as well but couldn't find any templates. Can any one help to achieve this use-case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current setup(working):&amp;nbsp;ldap.auth.user.dn.template =&amp;nbsp;{0}@domain1.org.com&lt;/P&gt;&lt;P&gt;Required setup :&amp;nbsp;ldap.auth.user.dn.template =&amp;nbsp;{0}@domain1.org.com +&amp;nbsp;{0}@domain2.org.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried adding the other domain with comma &amp;amp; space separated but in vain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CDP 7.1.7, Kafka 2.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 11:23:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351063#M236137</guid>
      <dc:creator>Uday483</dc:creator>
      <dc:date>2022-08-29T11:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7.1.7 Kafka LDAP setup, add multiple LDAP domains</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351108#M236158</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/97313"&gt;@Uday483&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the template option only works for a single domain with LDAP, I'm afraid.&lt;/P&gt;&lt;P&gt;One thing you can test is to set "&lt;STRONG&gt;ldap.auth.user.dn.template = {0}&lt;/STRONG&gt;". With this, though, when the client authenticate they would have to specify the qualified user name rather then just the short name (e.g. &lt;A href="mailto:alice@domain1.org.com," target="_blank"&gt;alice@domain1.org.com,&lt;/A&gt;&amp;nbsp;or &lt;A href="mailto:bob@domain2.org.com" target="_blank"&gt;bob@domain2.org.com&lt;/A&gt;). I haven't tested this before, so I'm not 100% sure it will work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you use Kerberos authentication instead of LDAP? With Kerberos auth there should be no problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 23:49:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351108#M236158</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-08-29T23:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7.1.7 Kafka LDAP setup, add multiple LDAP domains</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351392#M236244</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;André&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kerberos is already enabled, we have few users who don't want to use Kerberos which is why we are exploring LDAP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Uday&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 07:50:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351392#M236244</guid>
      <dc:creator>Uday483</dc:creator>
      <dc:date>2022-09-02T07:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7.1.7 Kafka LDAP setup, add multiple LDAP domains</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351419#M236252</link>
      <description>&lt;P&gt;Ok. Did you try the ldap configuration I mentioned above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 10:18:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351419#M236252</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-02T10:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7.1.7 Kafka LDAP setup, add multiple LDAP domains</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351427#M236258</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;André,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am observing below error after updating &lt;SPAN&gt;LDAP User DN Template to {0}&lt;/SPAN&gt;. Fun part is without mentioning any domain, previous domain user is still able to connect but new domain user connectivity fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;22/09/02 08:20:02 WARN internals.AdminMetadataManager: [AdminClient clientId=adminclient-1] Metadata update failed due to authentication error&lt;BR /&gt;org.apache.kafka.common.errors.SaslAuthenticationException: Authentication failed: Invalid username or password&lt;BR /&gt;Error while executing topic command : org.apache.kafka.common.errors.SaslAuthenticationException: Authentication failed: Invalid username or password&lt;BR /&gt;22/09/02 08:20:02 ERROR admin.TopicCommand$: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.SaslAuthenticationException: Authentication failed: Invalid username or password&lt;BR /&gt;at org.apache.kafka.common.internals.KafkaFutureImpl.wrapAndThrow(KafkaFutureImpl.java:45)&lt;BR /&gt;at org.apache.kafka.common.internals.KafkaFutureImpl.access$000(KafkaFutureImpl.java:32)&lt;BR /&gt;at org.apache.kafka.common.internals.KafkaFutureImpl$SingleWaiter.await(KafkaFutureImpl.java:89)&lt;BR /&gt;at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:260)&lt;BR /&gt;at kafka.admin.TopicCommand$AdminClientTopicService.getTopics(TopicCommand.scala:333)&lt;BR /&gt;at kafka.admin.TopicCommand$AdminClientTopicService.describeTopic(TopicCommand.scala:288)&lt;BR /&gt;at kafka.admin.TopicCommand$.main(TopicCommand.scala:68)&lt;BR /&gt;at kafka.admin.TopicCommand.main(TopicCommand.scala)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 12:25:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351427#M236258</guid>
      <dc:creator>Uday483</dc:creator>
      <dc:date>2022-09-02T12:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7.1.7 Kafka LDAP setup, add multiple LDAP domains</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351478#M236278</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/97313"&gt;@Uday483&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error above happens if you don't specify the domain during authentication, right?&lt;/P&gt;&lt;P&gt;If you do specify the domain, does it work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 01:15:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351478#M236278</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-05T01:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7.1.7 Kafka LDAP setup, add multiple LDAP domains</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351517#M236293</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;André,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With or without domain in the configuration, its taking default domain.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If we provide multiple domains also its not authenticating&amp;nbsp;new one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Uday&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 10:19:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-1-7-Kafka-LDAP-setup-add-multiple-LDAP-domains/m-p/351517#M236293</guid>
      <dc:creator>Uday483</dc:creator>
      <dc:date>2022-09-05T10:19:10Z</dc:date>
    </item>
  </channel>
</rss>

