<?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 LDAP Filter Adding Distinguished Name (DN) in Security</title>
    <link>https://community.splunk.com/t5/Security/LDAP-Filter-Adding-Distinguished-Name-DN/m-p/382242#M9398</link>
    <description>&lt;P&gt;We've been struggling to set up Splunk to use LDAP authentication for a while now. After finally getting it to bind successfully, it lists the groups when I map roles; however, when I log in as a user under a mapped role + group combo, it does not work. The DEBUG logs show the LDAP server returned no entries in search for DN="ou=Groups,dc=XXXX" filter="(&amp;amp;(memberuid=uid=XXXX,)(cn=*)"&lt;/P&gt;

&lt;P&gt;A manual ldapsearch for the below does work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ldapsearch -x -D "uid=XXXX,ou=XXX,dc=XXX" -W -H  -b "ou=XXX,dc=XXX" "(&amp;amp;(memberuid=XXXX)(cn=*))"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It LOOKS in the logs like Splunk is trying to do this equivalent search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ldapsearch -x -D "uid=XXXX,ou=XXX,dc=XXX" -W -H  -b "ou=XXX,dc=XXX" "(&amp;amp;(memberuid=uid=XXXX,ou=XXX,dc=XXX)(cn=*))" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Specifically, if it would just not put the DN in the filter, it should work. Any advice to get this working?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Sep 2018 17:07:25 GMT</pubDate>
    <dc:creator>ryan_t_gavin</dc:creator>
    <dc:date>2018-09-14T17:07:25Z</dc:date>
    <item>
      <title>LDAP Filter Adding Distinguished Name (DN)</title>
      <link>https://community.splunk.com/t5/Security/LDAP-Filter-Adding-Distinguished-Name-DN/m-p/382242#M9398</link>
      <description>&lt;P&gt;We've been struggling to set up Splunk to use LDAP authentication for a while now. After finally getting it to bind successfully, it lists the groups when I map roles; however, when I log in as a user under a mapped role + group combo, it does not work. The DEBUG logs show the LDAP server returned no entries in search for DN="ou=Groups,dc=XXXX" filter="(&amp;amp;(memberuid=uid=XXXX,)(cn=*)"&lt;/P&gt;

&lt;P&gt;A manual ldapsearch for the below does work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ldapsearch -x -D "uid=XXXX,ou=XXX,dc=XXX" -W -H  -b "ou=XXX,dc=XXX" "(&amp;amp;(memberuid=XXXX)(cn=*))"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It LOOKS in the logs like Splunk is trying to do this equivalent search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ldapsearch -x -D "uid=XXXX,ou=XXX,dc=XXX" -W -H  -b "ou=XXX,dc=XXX" "(&amp;amp;(memberuid=uid=XXXX,ou=XXX,dc=XXX)(cn=*))" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Specifically, if it would just not put the DN in the filter, it should work. Any advice to get this working?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 17:07:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/LDAP-Filter-Adding-Distinguished-Name-DN/m-p/382242#M9398</guid>
      <dc:creator>ryan_t_gavin</dc:creator>
      <dc:date>2018-09-14T17:07:25Z</dc:date>
    </item>
  </channel>
</rss>

