<?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 get LDAP group name by using query or REST API? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145700#M140832</link>
    <description>&lt;P&gt;Hi viswanathsd,&lt;/P&gt;

&lt;P&gt;try this REST API query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/authentication/providers/LDAP | table "eai:acl.app" groupBaseDN host title
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Fri, 05 Dec 2014 07:06:06 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-12-05T07:06:06Z</dc:date>
    <item>
      <title>How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145699#M140831</link>
      <description />
      <pubDate>Mon, 15 Jun 2020 18:17:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145699#M140831</guid>
      <dc:creator>viswanathsd</dc:creator>
      <dc:date>2020-06-15T18:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145700#M140832</link>
      <description>&lt;P&gt;Hi viswanathsd,&lt;/P&gt;

&lt;P&gt;try this REST API query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/authentication/providers/LDAP | table "eai:acl.app" groupBaseDN host title
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2014 07:06:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145700#M140832</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-12-05T07:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145701#M140833</link>
      <description>&lt;P&gt;Thanks for the direction. &lt;BR /&gt;
The REST API shows all the referenced AD group names. Is it possible to see the splunk role(s) mapping to each these AD groups? &lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 19:10:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145701#M140833</guid>
      <dc:creator>shangshin</dc:creator>
      <dc:date>2015-04-30T19:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145702#M140834</link>
      <description>&lt;P&gt;I found it with the help of your clue. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 20:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145702#M140834</guid>
      <dc:creator>shangshin</dc:creator>
      <dc:date>2015-04-30T20:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145703#M140835</link>
      <description>&lt;P&gt;I missed it. Could you document the answer for everyone else? Also, what version of Splunk are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 20:47:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145703#M140835</guid>
      <dc:creator>reed_kelly</dc:creator>
      <dc:date>2015-04-30T20:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145704#M140836</link>
      <description>&lt;P&gt;For future reference, since this was never answered, this should work to display roles associated with LDAP groups:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | rest /servicesNS/nobody/system/admin/LDAP-groups | table title roles | search roles=*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:10:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145704#M140836</guid>
      <dc:creator>coltwanger</dc:creator>
      <dc:date>2017-01-23T20:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145705#M140837</link>
      <description>&lt;P&gt;But there is a limit to 1000 groups!&lt;BR /&gt;
How can that limit be changed or bypassed?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 10:22:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145705#M140837</guid>
      <dc:creator>bjarnedein</dc:creator>
      <dc:date>2020-03-23T10:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145706#M140838</link>
      <description>&lt;P&gt;Hi bjarnedein, &lt;/P&gt;

&lt;P&gt;this is a two fold issue while you can increase this limit by modifying limits.conf options for the &lt;CODE&gt;[ldap]&lt;/CODE&gt; stanza to get more results (in theory) you will still hit the server side limit of the LDAP server. You would need to increase both settings to get more results back per query.&lt;/P&gt;

&lt;P&gt;cheers, MuS &lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 18:38:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145706#M140838</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2020-03-24T18:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145707#M140839</link>
      <description>&lt;P&gt;Hi MuS,&lt;/P&gt;

&lt;P&gt;Thanks for your speedy response, and currently our &lt;CODE&gt;[ldap]&lt;/CODE&gt; is the like:&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
ldap    allow_multiple_matching_users   1&lt;BR /&gt;
ldap    max_mem_usage_mb    3000&lt;BR /&gt;
ldap    max_users_to_precache   30000&lt;BR /&gt;
&lt;/CODE&gt;&lt;BR /&gt;
What I think is the interesting thing here is that when using &lt;CODE&gt;ldapsearch&lt;/CODE&gt; we can get up till 10,000 rows.&lt;/P&gt;

&lt;P&gt;I can't find any other key/values for the &lt;CODE&gt;[ldap]&lt;/CODE&gt; stanza, do you know of any?&lt;/P&gt;

&lt;P&gt;Cheers, Bjarne&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 09:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145707#M140839</guid>
      <dc:creator>bjarnedein</dc:creator>
      <dc:date>2020-03-25T09:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145708#M140840</link>
      <description>&lt;P&gt;Hi MuS,&lt;/P&gt;

&lt;P&gt;Thanks for your speedy response, and currently our &lt;CODE&gt;[ldap]&lt;/CODE&gt; is the like:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;ldap   allow_multiple_matching_users   1&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;ldap   max_mem_usage_mb    3000&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;ldap   max_users_to_precache   30000&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;What I think is the interesting thing here is that when using &lt;CODE&gt;ldapsearch&lt;/CODE&gt; we can get up till 10,000 rows.&lt;/P&gt;

&lt;P&gt;I can't find any other key/values for the &lt;CODE&gt;[ldap]&lt;/CODE&gt; stanza, do you know of any?&lt;/P&gt;

&lt;P&gt;Cheers, Bjarne&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 09:19:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145708#M140840</guid>
      <dc:creator>bjarnedein</dc:creator>
      <dc:date>2020-03-25T09:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get LDAP group name by using query or REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145709#M140841</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;try the &lt;CODE&gt;limit=&lt;/CODE&gt;argument with &lt;CODE&gt;ldapsearch&lt;/CODE&gt; &lt;A href="https://docs.splunk.com/Documentation/SA-LdapSearch/latest/User/Theldapsearchcommand"&gt;https://docs.splunk.com/Documentation/SA-LdapSearch/latest/User/Theldapsearchcommand&lt;/A&gt; but as written before, as long as your LDAP server has a limit of 1000 (default for most of the LDAP implementations) you will not be able to retrieve more results.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 19:54:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-LDAP-group-name-by-using-query-or-REST-API/m-p/145709#M140841</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2020-03-25T19:54:04Z</dc:date>
    </item>
  </channel>
</rss>

