<?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: How to use the splunk ldapsearch app to list all users' memberships with in a group? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616240#M214178</link>
    <description>&lt;P&gt;There is an app and add-on forum&amp;nbsp;&lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/bd-p/apps-add-ons-all" target="_blank"&gt;All Apps and Add-ons&lt;/A&gt;. &amp;nbsp;That's a better place to ask this question. &amp;nbsp;To construct a useful search, you need to know how AD implements group membership. (In plain LDAP, group membership is often implemented with the attribute "MemberOf", but not always.)&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 22:55:39 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2022-10-06T22:55:39Z</dc:date>
    <item>
      <title>How to use the splunk ldapsearch app to list all users' memberships with in a group?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616230#M214176</link>
      <description>&lt;P&gt;I am having no luck listing users' memberships with in a group, using ldapsearch.&lt;/P&gt;&lt;P&gt;I am not an AD LDAP expert, either.&lt;/P&gt;&lt;P&gt;Lets say I have a domain called Foo, and an OU (group) called Bar, with 10 users.&amp;nbsp; Each user has additional memberships to other groups.&lt;/P&gt;&lt;P&gt;I am looking to list the membership attr for each user.&lt;/P&gt;&lt;P&gt;I am starting with&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| ldapsearch domain=default search="(&amp;amp;(objectClass=user))"... but I don't know what to add.&lt;/LI-CODE&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 21:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616230#M214176</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2022-10-06T21:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the splunk ldapsearch app to list all users' memberships with in a group?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616240#M214178</link>
      <description>&lt;P&gt;There is an app and add-on forum&amp;nbsp;&lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/bd-p/apps-add-ons-all" target="_blank"&gt;All Apps and Add-ons&lt;/A&gt;. &amp;nbsp;That's a better place to ask this question. &amp;nbsp;To construct a useful search, you need to know how AD implements group membership. (In plain LDAP, group membership is often implemented with the attribute "MemberOf", but not always.)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 22:55:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616240#M214178</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-10-06T22:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the splunk ldapsearch app to list all users' memberships with in a group?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616246#M214180</link>
      <description>&lt;P&gt;Thank you, useful information re: app forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, despite a lack of decent documented examples, I stumbled across a way...&lt;/P&gt;&lt;P&gt;The users were in an OU group.&lt;/P&gt;&lt;P&gt;This worked&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| ldapsearch basedn="OU=foobar accounts,DC=foo,DC=bar" search="(objectClass=user)" | table displayName dn memberOf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But unfortunately attrs=displayName,memberOf did not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| ldapsearch basedn="OU=foobar accounts,DC=foo,DC=bar" search="(objectClass=user)" attrs=displayName,memberOf | table displayName dn memberOf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could not get both attrs, only the first in the list.&amp;nbsp; Strange&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 23:59:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616246#M214180</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2022-10-06T23:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the splunk ldapsearch app to list all users' memberships with in a group?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616313#M214206</link>
      <description>&lt;P&gt;Apparently wrapping attrs=" thing, thing2, thing3" in quotes works.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 13:14:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616313#M214206</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2022-10-07T13:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the splunk ldapsearch app to list all users' memberships with in a group?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616342#M214212</link>
      <description>&lt;P&gt;one other thing, if you are not admin, you need your role to include:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;list_settings&lt;/P&gt;&lt;P&gt;list_storage_passwords&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or you may get a permission denied error.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 15:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-splunk-ldapsearch-app-to-list-all-users/m-p/616342#M214212</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2022-10-07T15:57:56Z</dc:date>
    </item>
  </channel>
</rss>

