<?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 list user accounts with domain? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440696#M172474</link>
    <description>&lt;P&gt;This will not give you users who have accounts on Splunk.&lt;BR /&gt;
I think you have misunderstood the question.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2019 12:34:27 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2019-03-15T12:34:27Z</dc:date>
    <item>
      <title>How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440680#M172458</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Splunk Enterprise. &lt;/P&gt;

&lt;P&gt;I am trying to get the list of all user accounts using below code, but the result showing only Splunk console users list instead of all Active Directory User Account List. &lt;/P&gt;

&lt;P&gt;Code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=local /servicesNS/-/-/authentication/users count=0 | table title email real name type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Output&lt;/P&gt;

&lt;P&gt;Admin  &lt;A href="mailto:admin@xyz.com"&gt;admin@xyz.com&lt;/A&gt;  administrator  splunk &lt;BR /&gt;
babu    &lt;A href="mailto:babu@xyz.com"&gt;babu@xyz.com&lt;/A&gt;     babu                 LDAP&lt;/P&gt;

&lt;P&gt;like this result is showing only 10 lines, all these are splunk console users. I dont know why all Active Directory User Accounts not showing. &lt;/P&gt;

&lt;P&gt;Could anyone help me &amp;amp; guide me on this.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 13:06:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440680#M172458</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-03-14T13:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440681#M172459</link>
      <description>&lt;P&gt;From that same searchhead, can you see the LDAP users if you go to &lt;CODE&gt;your_sh:8000/en-GB/manager/search/authentication/users&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 13:59:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440681#M172459</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-14T13:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440682#M172460</link>
      <description>&lt;P&gt;please give me the full code. &lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 14:17:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440682#M172460</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-03-14T14:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440683#M172461</link>
      <description>&lt;P&gt;I mean in a browser go to &lt;CODE&gt;http(s)://your_splunk_search_head:8000/en-GB/manager/search/authentication/users&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 14:25:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440683#M172461</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-14T14:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440684#M172462</link>
      <description>&lt;P&gt;Thanks nickhillscpl, &lt;/P&gt;

&lt;P&gt;but I dont know in the browser also listing only Splunk console users list. &lt;/P&gt;

&lt;P&gt;All Active Directory user accounts count is 480, &lt;/P&gt;

&lt;P&gt;listing only 13 user account, If i use " &lt;A href="https://172.16.x.x:8000/en-GB/manager/search/authentication/users"&gt;https://172.16.x.x:8000/en-GB/manager/search/authentication/users&lt;/A&gt;  " &lt;/P&gt;

&lt;P&gt;Is there any other method for listing All user accounts. &lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:01:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440684#M172462</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-03-14T15:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440685#M172463</link>
      <description>&lt;P&gt;So this sounds like the Search head you are running the query against only knows about the local users, which is why the management UI and the rest api is showing you a few of them.&lt;/P&gt;

&lt;P&gt;Are you sure the missing users are LDAP, and not SAML?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440685#M172463</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-14T15:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440686#M172464</link>
      <description>&lt;P&gt;Yes, missing users are LDAP. &lt;/P&gt;

&lt;P&gt;Please confirm " http(s)://your_splunk_search_head:8000" , is this splunk console IP? which i use to login splunk console? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:42:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440686#M172464</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2020-09-29T23:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440687#M172465</link>
      <description>&lt;P&gt;Yes, this should be the address of the splunk server you access the user interface through.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:20:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440687#M172465</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-14T15:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440688#M172466</link>
      <description>&lt;P&gt;then i am using correct. why listing only few accounts and these user accounts are able to access splunk console, mean, listing accounts are able access "&lt;A href="https://172.16.x.x:8000/en-US/account/login"&gt;https://172.16.x.x:8000/en-US/account/login&lt;/A&gt; "&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:24:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440688#M172466</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-03-14T15:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440689#M172467</link>
      <description>&lt;P&gt;Can you post the contents of $SPLUNK_HOME/etc/sytem/local/authentication.conf&lt;BR /&gt;
(remove anything sensitive)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:29:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440689#M172467</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-14T15:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440690#M172468</link>
      <description>&lt;P&gt;sorry, I have the access only for console. I believe it would run on linux. &lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:33:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440690#M172468</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-03-14T15:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440691#M172469</link>
      <description>&lt;P&gt;If you run a splunk search with this: &lt;CODE&gt;| rest splunk_server=local /servicesNS/-/-/authentication/providers/LDAP |search disabled=0&lt;/CODE&gt; what do you get back?&lt;BR /&gt;
(remove anything sensitive)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 16:00:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440691#M172469</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-14T16:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440692#M172470</link>
      <description>&lt;P&gt;I did run the above code on search, below is the result.  copy below result and past in excel. You will see the result in friendly.&lt;/P&gt;

&lt;P&gt;SSLEnabled  anonymous_referrals author  bindDN  bindDNpassword  charset disabled    eai:acl.app eai:acl.can_list    eai:acl.can_write   eai:acl.modifiable  eai:acl.owner   eai:acl.perms.read  eai:acl.perms.write eai:acl.removable   eai:acl.sharing emailAttribute  groupBaseDN groupMappingAttribute   groupMemberAttribute    groupNameAttribute  host    id  nestedGroups    network_timeout order   port    published   realNameAttribute   sizelimit   splunk_server   timelimit   title   updated userBaseDN  userNameAttribute&lt;BR /&gt;
0   0   nobody  CN=s-splunk.user,OU=Users ABC-XYZ.net,DC=ABC-XYZ,DC=NET ********    utf8    0   system  1   1   0   nobody  *   *   1   system  mail    CN=SplunkAdmins,OU=SECURITY OPERATIONS GROUPS,OU=SECURITY OPERATIONS,DC=ABC-XYZ,DC=NET  dn  member  cn  lew-ABCXYZ-dc01.osi-snt.net &lt;A href="https://127.0.0.1:8089/servicesNS/nobody/system/authentication/providers/LDAP/Splunk%20Admins" target="_blank"&gt;https://127.0.0.1:8089/servicesNS/nobody/system/authentication/providers/LDAP/Splunk%20Admins&lt;/A&gt;   1   20  1   389     displayname 1000    LEW-SPLK-SH01   15  Splunk Admins   1969-12-31T19:00:00-05:00   DC=ABC-XYZ,DC=NET   samaccountname&lt;BR /&gt;
0   0   nobody  CN=s-splunk.user,OU=Users ABC-XYZ.net,DC=ABC-XYZ,DC=NET ********    utf8    0   system  1   1   0   nobody  *   *   1   system  mail    CN=SplunkReaders,OU=SECURITY OPERATIONS GROUPS,OU=SECURITY OPERATIONS,DC=ABC-XYZ,DC=NET dn  member  cn  lew-ABCXYZ-dc01.osi-snt.net &lt;A href="https://127.0.0.1:8089/servicesNS/nobody/system/authentication/providers/LDAP/Splunk%20Readers" target="_blank"&gt;https://127.0.0.1:8089/servicesNS/nobody/system/authentication/providers/LDAP/Splunk%20Readers&lt;/A&gt;  1   20  2   389     displayname 1000    LEW-SPLK-SH01   15  Splunk Readers  1969-12-31T19:00:00-05:00   DC=ABC-XYZ,DC=NET   samaccountname&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:42:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440692#M172470</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2020-09-29T23:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440693#M172471</link>
      <description>&lt;P&gt;Any luck ?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 17:31:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440693#M172471</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-03-14T17:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440694#M172472</link>
      <description>&lt;P&gt;Have you tried to use ldapsearch in Splunk? I guess It will work in this case.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 19:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440694#M172472</guid>
      <dc:creator>alonsocaio</dc:creator>
      <dc:date>2019-03-14T19:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440695#M172473</link>
      <description>&lt;P&gt;To get a list of users or computers from your Active Directory you could use the Splunk Supporting Add-on for Active Directory. It allows you to use the ldapsearch command on your searches.&lt;/P&gt;

&lt;P&gt;To get a simple list of your AD uses and output this list to a csv file you could use the search below:&lt;/P&gt;

&lt;P&gt;| ldapsearch domain=YOUR_DOMAIN search="(&amp;amp;(objectClass=user)(!(objectClass=computer)))" attrs="sAMAccountName,displayName,mail" &lt;BR /&gt;
| table sAMAccountName,displayName,mail&lt;BR /&gt;
| outputlookup AD_Users.csv&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440695#M172473</guid>
      <dc:creator>alonsocaio</dc:creator>
      <dc:date>2020-09-29T23:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440696#M172474</link>
      <description>&lt;P&gt;This will not give you users who have accounts on Splunk.&lt;BR /&gt;
I think you have misunderstood the question.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 12:34:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440696#M172474</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-15T12:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440697#M172475</link>
      <description>&lt;P&gt;thank you so much alonsocaio.&lt;/P&gt;

&lt;P&gt;the above code is working. &lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 13:47:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440697#M172475</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-03-15T13:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440698#M172476</link>
      <description>&lt;P&gt;Oh, maybe I misunderstood the question!!!&lt;/P&gt;

&lt;P&gt;I thought you wanted LDAP users who had access to Splunk, not just all AD users from your domain. &lt;/P&gt;

&lt;P&gt;Glad you found a solution! &lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 13:52:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440698#M172476</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-15T13:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to list user accounts with domain?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440699#M172477</link>
      <description>&lt;P&gt;I am looking  AD User Account list only. &lt;/P&gt;

&lt;P&gt;the above code is working for me. &lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 13:52:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-user-accounts-with-domain/m-p/440699#M172477</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-03-15T13:52:26Z</dc:date>
    </item>
  </channel>
</rss>

