<?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: LDAP authentication in Splunk is not working in Security</title>
    <link>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/561724#M15443</link>
    <description>&lt;P&gt;Thankyou much..&lt;/P&gt;&lt;P&gt;It helped greatly. Past 3 days I was struggling without proper solution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This simple answer helped me.&amp;nbsp;&lt;BR /&gt;To add DN where AD user is first created.. &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Aug 2021 16:12:25 GMT</pubDate>
    <dc:creator>ShreeJ</dc:creator>
    <dc:date>2021-08-02T16:12:25Z</dc:date>
    <item>
      <title>LDAP authentication in Splunk is not working</title>
      <link>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283385#M13618</link>
      <description>&lt;P&gt;I have recently configured splunk to use ldap authentication. The configuration is pretty straight forward, I can see the AD group and the AD group member from splunk and map it with splunk role but somehow it failed to authentication.&lt;/P&gt;

&lt;P&gt;The only errors I can find in the splunkd log are as below. Question 1: If it is working fine, I need to put only username "_splunk" without the domain prefix and postfix right?&lt;BR /&gt;
09-013-2016 17:09:52.454 +0800 ERROR UserManagerPro - LDAP Login failed, could not find a valid user="_splunk" on any configured servers&lt;BR /&gt;
09-013-2016 17:13:18.432 +0800 ERROR UserManagerPro - LDAP Login failed, could not find a valid user="test_splunk" on any configured servers&lt;BR /&gt;
09-013-2016 17:15:11.330 +0800 ERROR UserManagerPro - LDAP Login failed, could not find a valid user="&lt;A href="mailto:_splunk@test.com" target="_blank"&gt;_splunk@test.com&lt;/A&gt;" on any configured servers&lt;/P&gt;

&lt;P&gt;My authentication.conf:&lt;BR /&gt;
[authentication]&lt;BR /&gt;
authSettings = testldap&lt;BR /&gt;
authType = LDAP&lt;/P&gt;

&lt;P&gt;[testldap] &lt;BR /&gt;
SSLEnabled = 1 &lt;BR /&gt;
anonymous_referrals = 1&lt;BR /&gt;
bindDN = CN=_splunk,OU=Admin Users,OU=TEST - Global Admins,OU=Organization Unit,DC=test,DC=com&lt;BR /&gt;
bindDNpassword = $1$56ExJUjhTyFZzzzxZC&lt;BR /&gt;
charset = utf8&lt;BR /&gt;
emailAttribute = mail&lt;BR /&gt;
groupBaseDN = CN=TEST-SPL-ADMIN,OU=Server Group,OU=TEST - Global Admins,OU=Organization Unit,DC=test,DC=com&lt;BR /&gt;
groupMappingAttribute = dn&lt;BR /&gt;
groupMemberAttribute = member&lt;BR /&gt;
groupNameAttribute = cn&lt;BR /&gt;
host = dc.test.com&lt;BR /&gt;
nestedGroups = 1&lt;BR /&gt;
network_timeout = 20&lt;BR /&gt;
port = 636&lt;BR /&gt;
realNameAttribute = cn&lt;BR /&gt;
sizelimit = 3000&lt;BR /&gt;
timelimit = 15&lt;BR /&gt;
userBaseDN = CN=TEST-SPL-ADMIN,OU=Server Group,OU=TEST - Global Admins,OU=Organization Unit,DC=test,DC=com&lt;BR /&gt;
userNameAttribute = samaccountname&lt;/P&gt;

&lt;P&gt;[roleMap_testldap]&lt;BR /&gt;
admin = TEST-SPL-ADMIN&lt;/P&gt;

&lt;P&gt;Note: &lt;BR /&gt;
-I have tried to disable SSL and use port 389 for binding but no help.&lt;/P&gt;

&lt;P&gt;have tried to use domain admin account "_testadmin" as bindDN but not help.&lt;/P&gt;

&lt;P&gt;have used a newly created domain account "_splunk" with read only permission to the AD group "TEST-SPL-ADMIN", add this account to windows authorization access group in the specify domain controller but no help.&lt;/P&gt;

&lt;P&gt;-In the quick testing, I have domain admin account "_testadmin" added as group member of the AD group "TEST-SPL-ADMIN" which I would like to use for authentication. This same with another account I used to test binding "_splunk", it is a member of the AD group "TEST-SPL-ADMIN" aslo. My bindDN I tried are "CN=_splunk,OU=Admin Users,OU=TEST - Global Admins,OU=Organization Unit,DC=test,DC=com" and "CN=_testadmin,OU=Admin Users,OU=TEST - Global Admins,OU=Organization Unit,DC=test,DC=com"&lt;/P&gt;

&lt;P&gt;Any solution or hint to troubleshoot it will be much appreciated. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:00:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283385#M13618</guid>
      <dc:creator>jasonsun</dc:creator>
      <dc:date>2020-09-29T11:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP authentication in Splunk is not working</title>
      <link>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283386#M13619</link>
      <description>&lt;P&gt;Have you tried running the command ./splunk reload auth on your search heads and logging in again. Sometimes changes to AD take time to propagate. You might try after a while to see if it works. In any case, try reloading the auth before you try.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 21:21:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283386#M13619</guid>
      <dc:creator>sk314</dc:creator>
      <dc:date>2016-09-13T21:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP authentication in Splunk is not working</title>
      <link>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283387#M13620</link>
      <description>&lt;P&gt;Hi sk314, I have clicked "Reload authentication configuration" button from the Splunk web UI but the problem was still the same. The reload button actually do the same thing as running ./splunk reload auth command right?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 03:11:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283387#M13620</guid>
      <dc:creator>jasonsun</dc:creator>
      <dc:date>2016-09-14T03:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP authentication in Splunk is not working</title>
      <link>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283388#M13621</link>
      <description>&lt;P&gt;Just a thought; there's a few hints on the interwebs of random things having issues with underscores.  Could you try using all CNs, OUs and names without leading underscores to see what happens?  &lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 14:13:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283388#M13621</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2016-09-17T14:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP authentication in Splunk is not working</title>
      <link>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283389#M13622</link>
      <description>&lt;P&gt;Tested but this is not the cause. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 09:09:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283389#M13622</guid>
      <dc:creator>jasonsun</dc:creator>
      <dc:date>2016-10-12T09:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP authentication in Splunk is not working</title>
      <link>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283390#M13623</link>
      <description>&lt;P&gt;Finally solved. The problem was due to userBaseDN value.&lt;BR /&gt;
It should not be same as the value I set for groupBaseDN. Instead, it should be DN where AD user is first created, e.g OU=Users,OU=xx,OU=xx - xxxx,OU=xx - Users Computers Groups,OU=Organization Unit,DC=test,DC=com&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 09:16:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/283390#M13623</guid>
      <dc:creator>jasonsun</dc:creator>
      <dc:date>2016-10-12T09:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP authentication in Splunk is not working</title>
      <link>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/560405#M13624</link>
      <description>&lt;P&gt;I had a service account that was failing authentication. We fixed the account OU and it still did not authenticate. Refreshing authentication configuration helped in refreshing the cache. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 23:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/560405#M13624</guid>
      <dc:creator>nilaysh</dc:creator>
      <dc:date>2021-07-21T23:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP authentication in Splunk is not working</title>
      <link>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/561724#M15443</link>
      <description>&lt;P&gt;Thankyou much..&lt;/P&gt;&lt;P&gt;It helped greatly. Past 3 days I was struggling without proper solution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This simple answer helped me.&amp;nbsp;&lt;BR /&gt;To add DN where AD user is first created.. &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 16:12:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-authentication-in-Splunk-is-not-working/m-p/561724#M15443</guid>
      <dc:creator>ShreeJ</dc:creator>
      <dc:date>2021-08-02T16:12:25Z</dc:date>
    </item>
  </channel>
</rss>

