<?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 ldapsearch command to get attribute names from directory in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/ldapsearch-command-to-get-attribute-names-from-directory/m-p/537426#M10172</link>
    <description>&lt;P&gt;How can I run a ldapsearch command from Splunk to get the list of user attribute names ONLY not the values available in a AD directory. I am using SA-ldap add-on but don't see the parameters that I need to use to get the attributes name list.&lt;/P&gt;&lt;P&gt;Looking back into AD documentation there is a option for&amp;nbsp;--typesOnly but not sure how to use it in Splunk ldap search query.&lt;/P&gt;&lt;P&gt;my query is as follows:&amp;nbsp;&amp;nbsp;| ldapsearch domain=abc search="(&amp;amp;(objectClass=user)(!(objectClass=computer)))"&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 14:28:45 GMT</pubDate>
    <dc:creator>arrangineni</dc:creator>
    <dc:date>2021-01-27T14:28:45Z</dc:date>
    <item>
      <title>ldapsearch command to get attribute names from directory</title>
      <link>https://community.splunk.com/t5/Alerting/ldapsearch-command-to-get-attribute-names-from-directory/m-p/537426#M10172</link>
      <description>&lt;P&gt;How can I run a ldapsearch command from Splunk to get the list of user attribute names ONLY not the values available in a AD directory. I am using SA-ldap add-on but don't see the parameters that I need to use to get the attributes name list.&lt;/P&gt;&lt;P&gt;Looking back into AD documentation there is a option for&amp;nbsp;--typesOnly but not sure how to use it in Splunk ldap search query.&lt;/P&gt;&lt;P&gt;my query is as follows:&amp;nbsp;&amp;nbsp;| ldapsearch domain=abc search="(&amp;amp;(objectClass=user)(!(objectClass=computer)))"&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 14:28:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/ldapsearch-command-to-get-attribute-names-from-directory/m-p/537426#M10172</guid>
      <dc:creator>arrangineni</dc:creator>
      <dc:date>2021-01-27T14:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: ldapsearch command to get attribute names from directory</title>
      <link>https://community.splunk.com/t5/Alerting/ldapsearch-command-to-get-attribute-names-from-directory/m-p/537439#M10173</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have no knowledge of how this type of search behaves..but if this kind of directory also has fields can't you just use&lt;BR /&gt;&lt;BR /&gt;|fields attribute_name_field&lt;BR /&gt;&lt;BR /&gt;to get rid of any other field but the name?&amp;nbsp;&lt;BR /&gt;(like I said im just blindly guessing since I have never used Idapsearches! I hope you can resolve your problem!)&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 15:41:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/ldapsearch-command-to-get-attribute-names-from-directory/m-p/537439#M10173</guid>
      <dc:creator>FelixLeh</dc:creator>
      <dc:date>2021-01-27T15:41:02Z</dc:date>
    </item>
  </channel>
</rss>

