<?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 seach with a wildcard in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295220#M89098</link>
    <description>&lt;P&gt;Thanks.  I might look into that also.  I was hopping to avoid having another process to create the lookup table.  I also posted another question similar, but without wild cards.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Mar 2018 18:05:15 GMT</pubDate>
    <dc:creator>chadman</dc:creator>
    <dc:date>2018-03-28T18:05:15Z</dc:date>
    <item>
      <title>ldap seach with a wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295214#M89092</link>
      <description>&lt;P&gt;I have a search below that works fine, but I would like to add a wildcard to it.&lt;/P&gt;

&lt;P&gt;This search works&lt;BR /&gt;
| ldapsearch domain=mydomain.com search=(&amp;amp;(objectClass=computer)(memberOf="CN=Patch1, OU=Patches,OU=Wintel,DC=Mydomain,DC=com)) attrs=name&lt;/P&gt;

&lt;P&gt;I would like to do something like below, but it does not show any results with the wildcard.&lt;BR /&gt;
| ldapsearch domain=mydomain.com search=(&amp;amp;(objectClass=computer)(memberOf="CN=Patch*, OU=Patches,OU=Wintel,DC=Mydomain,DC=com)) attrs=name&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 12:45:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295214#M89092</guid>
      <dc:creator>chadman</dc:creator>
      <dc:date>2018-03-28T12:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: ldap seach with a wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295215#M89093</link>
      <description>&lt;P&gt;Hey Chadman,&lt;/P&gt;

&lt;P&gt;Try something like this:&lt;BR /&gt;
search="(CN=Patch*)"&lt;/P&gt;

&lt;P&gt;and keep adding to if that is working in your environment.&lt;/P&gt;

&lt;P&gt;Or you can get a bit more creative (not sure if this will work for you, you may want to try creating a Lookup that you can pull the data from, to search):&lt;/P&gt;

&lt;P&gt;| ldapsearch domain=mydomain.com search=objectClass=computer | search memberOf="(CN=Patch*, OU=Patches,OU=Wintel,DC=Mydomain,DC=com)"&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 14:32:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295215#M89093</guid>
      <dc:creator>hos_2</dc:creator>
      <dc:date>2018-03-28T14:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: ldap seach with a wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295216#M89094</link>
      <description>&lt;P&gt;hos_2,&lt;BR /&gt;
That does kind of work, but how can I do something like below to narrow down the search?&lt;BR /&gt;
search="(CN=Patch*)(OU=Wintel)"&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 14:39:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295216#M89094</guid>
      <dc:creator>chadman</dc:creator>
      <dc:date>2018-03-28T14:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: ldap seach with a wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295217#M89095</link>
      <description>&lt;P&gt;Maybe something like this?&lt;/P&gt;

&lt;P&gt;search memberOf="CN=Patch*" AND memberOf=(OU=Patches,OU=Wintel,DC=Mydomain,DC=com)&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 14:43:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295217#M89095</guid>
      <dc:creator>hos_2</dc:creator>
      <dc:date>2018-03-28T14:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: ldap seach with a wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295218#M89096</link>
      <description>&lt;P&gt;Cant get that to work,  syntax might be wrong.  I have tried a couple variations.  I also tried to add basedn=(OU=Patches,OU=Wintel,DC=Mydomain,DC=com) thinking that would limit the scope of my search, but it's not.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:15:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295218#M89096</guid>
      <dc:creator>chadman</dc:creator>
      <dc:date>2018-03-28T15:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: ldap seach with a wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295219#M89097</link>
      <description>&lt;P&gt;Yeah we had similar issues with the data, our work around was to just gather everything in a lookup daily, then run searches off the lookup tables.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:19:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295219#M89097</guid>
      <dc:creator>hos_2</dc:creator>
      <dc:date>2018-03-28T15:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: ldap seach with a wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295220#M89098</link>
      <description>&lt;P&gt;Thanks.  I might look into that also.  I was hopping to avoid having another process to create the lookup table.  I also posted another question similar, but without wild cards.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 18:05:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295220#M89098</guid>
      <dc:creator>chadman</dc:creator>
      <dc:date>2018-03-28T18:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: ldap seach with a wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295221#M89099</link>
      <description>&lt;P&gt;I believe you need to use the and filtercomp "&amp;amp;". Still learning myself, but might try:&lt;/P&gt;

&lt;P&gt;search=(&amp;amp;(CN=Patch*)&amp;amp;(OU=Wintel))&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 15:28:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295221#M89099</guid>
      <dc:creator>EdBruce</dc:creator>
      <dc:date>2019-03-07T15:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: ldap seach with a wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295222#M89100</link>
      <description>&lt;P&gt;This issue has been resolved: &lt;A href="https://docs.splunk.com/Documentation/SA-LdapSearch/2.2.1/User/ReleaseNotes#Fixed_issues"&gt;https://docs.splunk.com/Documentation/SA-LdapSearch/2.2.1/User/ReleaseNotes#Fixed_issues&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 16:49:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/ldap-seach-with-a-wildcard/m-p/295222#M89100</guid>
      <dc:creator>Eric_Mcknight</dc:creator>
      <dc:date>2019-08-09T16:49:04Z</dc:date>
    </item>
  </channel>
</rss>

