<?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>topic Re: Splunk LDAP authentication Issue - need to click on login multiple times in Security</title>
    <link>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488072#M11192</link>
    <description>&lt;P&gt;Yes, that's what I mean by adding filters to your ldap settings.&lt;/P&gt;

&lt;P&gt;In large AD environments it's almost required to add a group base etc. &lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2020 12:17:30 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2020-01-17T12:17:30Z</dc:date>
    <item>
      <title>Splunk LDAP authentication Issue - need to click on login multiple times</title>
      <link>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488069#M11189</link>
      <description>&lt;P&gt;i have configred my splunk deployment (hosted on AWS instances) to use LDAP authentication over ssl, but whenever i try to login using my ldap credentials, i have to click on the login buttom multiple times to successfully login, when i use my local authentication credentials it works fine. Below is a snippet of my authentication.conf configs (with sensitive info masked)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[My_splunk_strategy_name]
SSLEnabled = 1
anonymous_referrals = 1
bindDN = CN=&amp;lt;service account&amp;gt;,OU=&amp;lt;OU Name 1&amp;gt;,OU=&amp;lt;OU Name 2&amp;gt;,OU=&amp;lt;OU Name 3&amp;gt;,DC=&amp;lt;DC Name 1&amp;gt;,DC=&amp;lt;DC Name 2&amp;gt;
bindDNpassword = my_password
charset = utf8
emailAttribute = mail
groupBaseDN = OU=&amp;lt;OU Name 1&amp;gt;,OU=&amp;lt;OU Name 2&amp;gt;,OU=&amp;lt;OU Name 3&amp;gt;,OU=&amp;lt;OU Name 4&amp;gt;,DC=&amp;lt;DC Name 1&amp;gt;,DC=&amp;lt;DC Name 2&amp;gt;;OU=&amp;lt;Another_OU Name 1&amp;gt;,OU=&amp;lt;Another_OU Name 2&amp;gt;,OU=&amp;lt;Another_OU Name 3&amp;gt;,OU=&amp;lt;Another_OU Name 4&amp;gt;,DC=&amp;lt;DC Name 1&amp;gt;,DC=&amp;lt;DC Name 2&amp;gt;
groupMappingAttribute = dn
groupMemberAttribute = member
groupNameAttribute = cn
host = ldap_hostname
nestedGroups = 0
network_timeout = 29
port = 636
realNameAttribute = cn
sizelimit = 2000
timelimit = 28
userBaseDN = DC=&amp;lt;DC Name 1&amp;gt;,DC=&amp;lt;DC Name 2&amp;gt;
userNameAttribute = samaccountname
pagelimit = -1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;i have another splunk instance which is using similar configs and authentication works perfectly there (no need to click multiple times). The differances there are &lt;BR /&gt;
1. there we use ldap and not ldaps&lt;BR /&gt;
2. there the groupBaseDN has lesser number of OUs&lt;/P&gt;

&lt;P&gt;So i tried on my current setup with LDAP (port 389 instead of 636 and SSLEnabled = 0 ) but still faced the same issue.&lt;/P&gt;

&lt;P&gt;Am i missing anything here? any suggestions on how to resolve this issue.&lt;BR /&gt;
Note: The security groups and NACLs rules are not an issue as i have already verified with AWS support on that.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 15:01:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488069#M11189</guid>
      <dc:creator>soumyasaha25</dc:creator>
      <dc:date>2020-01-16T15:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk LDAP authentication Issue - need to click on login multiple times</title>
      <link>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488070#M11190</link>
      <description>&lt;P&gt;You're not being patient enough for the auth to take place.&lt;/P&gt;

&lt;P&gt;Test it.  Put in your ldap credentials and only press the button once... wait... &lt;/P&gt;

&lt;P&gt;If you open your browsers developer tools and look at the network tab, you will see your browser is pending a response from your submission. &lt;/P&gt;

&lt;P&gt;Clicking multiple times has 0 affect.  It's time that's if the essence.  Check your bandwidth to your ldap controllers, their performance, etc.  &lt;/P&gt;

&lt;P&gt;This happens often when you have very large ldap scopes defined.  So you can also help speed this up by adding group filters etc to your ldap connection settings.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 16:47:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488070#M11190</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-16T16:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk LDAP authentication Issue - need to click on login multiple times</title>
      <link>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488071#M11191</link>
      <description>&lt;P&gt;Yes, my bad i forgot to mention it in the post. i did check the developer tools, network tab. If i click once and wait (patiently), it eventually throws an  "Invalid username or password" error although i did key in the correct username and password, and eventually after multiple clicks i am able to login.&lt;BR /&gt;
I also had done a test where i had clicked on login once, noted down the time and waited for it to fail/login.&lt;BR /&gt;
example like this below&lt;BR /&gt;
Trial 1&lt;BR /&gt;
Time    Status&lt;BR /&gt;
13:40   Fail&lt;BR /&gt;
13:43   Fail&lt;BR /&gt;
13:50   Fail&lt;BR /&gt;
13:53   Success&lt;/P&gt;

&lt;P&gt;Also, i did notice that my groupBaseDN does not have a CN and have multiple OUs (when compared to another working splunk cluster which has lesser OUs and a CN defined in groupBaseDN), do you think that might be the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 10:53:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488071#M11191</guid>
      <dc:creator>soumyasaha25</dc:creator>
      <dc:date>2020-01-17T10:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk LDAP authentication Issue - need to click on login multiple times</title>
      <link>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488072#M11192</link>
      <description>&lt;P&gt;Yes, that's what I mean by adding filters to your ldap settings.&lt;/P&gt;

&lt;P&gt;In large AD environments it's almost required to add a group base etc. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 12:17:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488072#M11192</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-17T12:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk LDAP authentication Issue - need to click on login multiple times</title>
      <link>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488073#M11193</link>
      <description>&lt;P&gt;this got resolved, looks like the config file was missing some attributes in userBaseDN.  after adding them, it works. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 15:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-LDAP-authentication-Issue-need-to-click-on-login-multiple/m-p/488073#M11193</guid>
      <dc:creator>soumyasaha25</dc:creator>
      <dc:date>2020-01-17T15:37:38Z</dc:date>
    </item>
  </channel>
</rss>

