<?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 can I retrieve a list of LDAP users in my Splunk search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297348#M89724</link>
    <description>&lt;P&gt;Is your question with regard to users of the splunk system, or users of your other systems at large?  &lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2017 19:21:59 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-08-23T19:21:59Z</dc:date>
    <item>
      <title>How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297342#M89718</link>
      <description>&lt;P&gt;I need to create a search that can retrieve a list of privileged group members from my LDAP server so I can then use that list in my search string.&lt;BR /&gt;
For example, if I wanted to list all users who are or are not privileged group members I could say something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=* user=* | stats count by user (EXCLUDING ALL OTHER USERS IN THE LIST OF LDAP PRIVILEGED GROUP MEMBERS I RETRIEVED)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have looked into trying to use a external scripted lookup that will connect to my LDAP and do a query but no luck yet.&lt;BR /&gt;
I am also seeing some answers that say to use something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/authentication/users splunk_server=local | table realname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;no idea what exactly that does or what/where &lt;CODE&gt;/services/authentication/users&lt;/CODE&gt; is.&lt;BR /&gt;
How can I accomplish this? &lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 16:09:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297342#M89718</guid>
      <dc:creator>jcorkey</dc:creator>
      <dc:date>2017-08-22T16:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297343#M89719</link>
      <description>&lt;P&gt;Hi Jcorkey, &lt;/P&gt;

&lt;P&gt;To get the list of users in the system use the below search, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/authentication/users splunk_server=local | table type, title, roles, realname email *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To get only the LDAP users you have to filter the type, where &lt;CODE&gt;type=LDAP&lt;/CODE&gt; is LDAP user and &lt;CODE&gt;type=Splunk&lt;/CODE&gt; is Splunk created user, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/authentication/users splunk_server=local | where type="LDAP" | table type, title, roles, realname email *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps you !! &lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 16:48:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297343#M89719</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-08-22T16:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297344#M89720</link>
      <description>&lt;P&gt;Will this work on a linux box??&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 17:55:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297344#M89720</guid>
      <dc:creator>jcorkey</dc:creator>
      <dc:date>2017-08-22T17:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297345#M89721</link>
      <description>&lt;P&gt;it's a splunk search so it doesn't matter windows / linux. Do you have sufficient permission to run the search? &lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 18:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297345#M89721</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-08-22T18:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297346#M89722</link>
      <description>&lt;P&gt;Yea I have permissions. But this doesn't sound like what I need or maybe I just don't fully understand what this is doing. I need to be able to actually connect to my LDAP server and get a list of privileged group members from the LDAP.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:59:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297346#M89722</guid>
      <dc:creator>jcorkey</dc:creator>
      <dc:date>2017-08-23T12:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297347#M89723</link>
      <description>&lt;P&gt;LDAP users which are access to the Splunk will be list down in the rest command. &lt;/P&gt;

&lt;P&gt;if you want to query the LDAP, Usually organizations will use the some GUI for LDAP / Active Directory, &lt;BR /&gt;
OR&lt;BR /&gt;&lt;BR /&gt;
you can use the &lt;CODE&gt;Add-on SA-LDAPSearch&lt;/CODE&gt; . &lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1151/"&gt;https://splunkbase.splunk.com/app/1151/&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/SA-LdapSearch/2.1.4/User/Theldapsearchcommand"&gt;https://docs.splunk.com/Documentation/SA-LdapSearch/2.1.4/User/Theldapsearchcommand&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 17:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297347#M89723</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-08-23T17:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297348#M89724</link>
      <description>&lt;P&gt;Is your question with regard to users of the splunk system, or users of your other systems at large?  &lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 19:21:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297348#M89724</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-23T19:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297349#M89725</link>
      <description>&lt;P&gt;I would use this but I am using Rhel machines not windows&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 13:13:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297349#M89725</guid>
      <dc:creator>jcorkey</dc:creator>
      <dc:date>2017-08-24T13:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297350#M89726</link>
      <description>&lt;P&gt;Im using openldap and SA-LDAPSearch is for active directory &lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 13:14:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297350#M89726</guid>
      <dc:creator>jcorkey</dc:creator>
      <dc:date>2017-08-24T13:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297351#M89727</link>
      <description>&lt;P&gt;other Rhel systems at large. We are using openLdap and have different Ldap clients which use the Ldap server for authentication.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 13:16:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297351#M89727</guid>
      <dc:creator>jcorkey</dc:creator>
      <dc:date>2017-08-24T13:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297352#M89728</link>
      <description>&lt;P&gt;have you tried JXplorer? Check this, &lt;A href="http://jxplorer.org/"&gt;http://jxplorer.org/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Read this link, there were plenty of tools for LDAP Browser for linux, &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.ldapbrowserlinux.com/"&gt;http://www.ldapbrowserlinux.com/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 20:51:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297352#M89728</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-08-29T20:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297353#M89729</link>
      <description>&lt;P&gt;Works great. Thanks so much!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 17:27:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297353#M89729</guid>
      <dc:creator>joesrepsol</dc:creator>
      <dc:date>2018-04-27T17:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I retrieve a list of LDAP users in my Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297354#M89730</link>
      <description>&lt;P&gt;Glad that works, Accept the answer. &lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 18:28:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-retrieve-a-list-of-LDAP-users-in-my-Splunk-search/m-p/297354#M89730</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2018-10-19T18:28:20Z</dc:date>
    </item>
  </channel>
</rss>

