<?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 After installing Splunk on RHE Linux 6 and configuring it to use LDAP, why am I getting login error &amp;quot;could not find a valid user=&amp;quot;userOne&amp;quot; on any configured servers&amp;quot;? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/After-installing-Splunk-on-RHE-Linux-6-and-configuring-it-to-use/m-p/208469#M7819</link>
    <description>&lt;P&gt;I have installed Splunk on RHEL6 and have configured it to use LDAP, not AD. I can do an LDAP search from CLI and find my username and I can do a group search and find my group with my name in it. Splunk communicates with my LDAP server with no problem.&lt;/P&gt;

&lt;P&gt;When I try to login, that is when I start getting errors. I have posted the errors below along with authentication.conf, the ldapsearch, my LDAP user entry and LDAP group entry.&lt;/P&gt;

&lt;P&gt;Any idea why it is failing to see my LDAP user id?&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Error&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;09-09-2015 17:33:09.482 -0400 ERROR AuthenticationManagerLDAP - Couldn't find matching groups for user="userOne". Search filter="(&amp;amp;(memberuid=cn=userOne,cn=users,dc=example,dc=com)(|(cn=splunk-admin*)(cn=posix)(cn=linux)))" strategy="LDAP"
09-09-2015 17:33:09.482 -0400 ERROR UserManagerPro - LDAP Login failed, could not find a valid user="userOne" on any configured servers
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;authentication.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[authentication]
authSettings = LDAP
authType = LDAP

[roleMap_LDAP]
power-storage = splunk-admin-storage
power-linux = splunk-admin-linux

[LDAP]
SSLEnabled = 1
anonymous_referrals = 1
bindDNpassword = xxxxxx
charset = utf8
emailAttribute = mail
groupBaseDN = cn=groups,dc=example,dc=com
groupBaseFilter = (|(cn=splunk-admin*)(cn=posix)(cn=linux))
groupMappingAttribute = dn
groupMemberAttribute = memberuid
groupNameAttribute = cn
host = xxxxxx.example.com
nestedGroups = 0
network_timeout = 20
port = 636
realNameAttribute = displayname
sizelimit = 1000
timelimit = 15
userBaseDN = cn=users,dc=example,dc=com
userNameAttribute = uid

ldapsearch -x -H ldaps://xxxxxx.example.com -D "dc=example,dc=com" -b "memberuid=userOne,cn=groups,dc=example,dc=com"
# extended LDIF
#
# LDAPv3
# base &amp;lt;memberuid=userOne,cn=groups,dc=example,dc=com&amp;gt; with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

\# search result
search: 2
result: 32 No such object
matchedDN: cn=Groups, dc=example,dc=com

\# numResponses: 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;LDAP User&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# extended LDIF
#
# LDAPv3
# base &amp;lt;cn=users,dc=example,dc=com&amp;gt; with scope subtree
# filter: cn=userOne
# requesting: ALL
#

\# userOne, users, example.com
dn: cn=userOne,cn=users,dc=example,dc=com
uidnumber: xxxxxxx
loginshell: /bin/bash
homedirectory: /home/userOne
gidnumber: xxxxxxx
examplelinuxuid: userOne
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: oblixorgperson
objectclass: posixAccount
mail: User.One@example.com
examplenamesdn: CN=User One,O=example,C=US
exampledominosubperson: 1
exampledominoorgname: xxxxxxx
exampledominoorgcode: xxxxxxx 
exampledominonerdname: One.User
exampledominolocation: xxxxxxx
dexamplertmentnumber: xxxxxxx
cn: userOne
cn: user one
uid: userOne
displayname: User One
sn: One
givenname: User
examplesimtreedn: cn=userOne,ou=Internal,o=example
examplesimtreeuid: userOne
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;LDAP Group&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# extended LDIF
#
# LDAPv3
# base &amp;lt;cn=groups,dc=example,dc=com&amp;gt; with scope subtree
# filter: cn=splunk-admin-linux
# requesting: ALL
#

\# splunk-admin-linux, posix, linux, Groups, example.com
dn: cn=splunk-admin-linux,cn=posix,cn=linux,cn=Groups,dc=example,dc=com
memberuid: userOne
memberuid: userTwo
memberuid: userThree
gidnumber: xxxxx
objectclass: top
objectclass: posixGroup
objectclass: groupOfUniqueNames
description: Splunk SysAdmins
cn: splunk-admin-linux
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 09 Sep 2015 22:19:00 GMT</pubDate>
    <dc:creator>ralphw_SAIC</dc:creator>
    <dc:date>2015-09-09T22:19:00Z</dc:date>
    <item>
      <title>After installing Splunk on RHE Linux 6 and configuring it to use LDAP, why am I getting login error "could not find a valid user="userOne" on any configured servers"?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/After-installing-Splunk-on-RHE-Linux-6-and-configuring-it-to-use/m-p/208469#M7819</link>
      <description>&lt;P&gt;I have installed Splunk on RHEL6 and have configured it to use LDAP, not AD. I can do an LDAP search from CLI and find my username and I can do a group search and find my group with my name in it. Splunk communicates with my LDAP server with no problem.&lt;/P&gt;

&lt;P&gt;When I try to login, that is when I start getting errors. I have posted the errors below along with authentication.conf, the ldapsearch, my LDAP user entry and LDAP group entry.&lt;/P&gt;

&lt;P&gt;Any idea why it is failing to see my LDAP user id?&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Error&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;09-09-2015 17:33:09.482 -0400 ERROR AuthenticationManagerLDAP - Couldn't find matching groups for user="userOne". Search filter="(&amp;amp;(memberuid=cn=userOne,cn=users,dc=example,dc=com)(|(cn=splunk-admin*)(cn=posix)(cn=linux)))" strategy="LDAP"
09-09-2015 17:33:09.482 -0400 ERROR UserManagerPro - LDAP Login failed, could not find a valid user="userOne" on any configured servers
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;authentication.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[authentication]
authSettings = LDAP
authType = LDAP

[roleMap_LDAP]
power-storage = splunk-admin-storage
power-linux = splunk-admin-linux

[LDAP]
SSLEnabled = 1
anonymous_referrals = 1
bindDNpassword = xxxxxx
charset = utf8
emailAttribute = mail
groupBaseDN = cn=groups,dc=example,dc=com
groupBaseFilter = (|(cn=splunk-admin*)(cn=posix)(cn=linux))
groupMappingAttribute = dn
groupMemberAttribute = memberuid
groupNameAttribute = cn
host = xxxxxx.example.com
nestedGroups = 0
network_timeout = 20
port = 636
realNameAttribute = displayname
sizelimit = 1000
timelimit = 15
userBaseDN = cn=users,dc=example,dc=com
userNameAttribute = uid

ldapsearch -x -H ldaps://xxxxxx.example.com -D "dc=example,dc=com" -b "memberuid=userOne,cn=groups,dc=example,dc=com"
# extended LDIF
#
# LDAPv3
# base &amp;lt;memberuid=userOne,cn=groups,dc=example,dc=com&amp;gt; with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

\# search result
search: 2
result: 32 No such object
matchedDN: cn=Groups, dc=example,dc=com

\# numResponses: 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;LDAP User&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# extended LDIF
#
# LDAPv3
# base &amp;lt;cn=users,dc=example,dc=com&amp;gt; with scope subtree
# filter: cn=userOne
# requesting: ALL
#

\# userOne, users, example.com
dn: cn=userOne,cn=users,dc=example,dc=com
uidnumber: xxxxxxx
loginshell: /bin/bash
homedirectory: /home/userOne
gidnumber: xxxxxxx
examplelinuxuid: userOne
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: oblixorgperson
objectclass: posixAccount
mail: User.One@example.com
examplenamesdn: CN=User One,O=example,C=US
exampledominosubperson: 1
exampledominoorgname: xxxxxxx
exampledominoorgcode: xxxxxxx 
exampledominonerdname: One.User
exampledominolocation: xxxxxxx
dexamplertmentnumber: xxxxxxx
cn: userOne
cn: user one
uid: userOne
displayname: User One
sn: One
givenname: User
examplesimtreedn: cn=userOne,ou=Internal,o=example
examplesimtreeuid: userOne
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;LDAP Group&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# extended LDIF
#
# LDAPv3
# base &amp;lt;cn=groups,dc=example,dc=com&amp;gt; with scope subtree
# filter: cn=splunk-admin-linux
# requesting: ALL
#

\# splunk-admin-linux, posix, linux, Groups, example.com
dn: cn=splunk-admin-linux,cn=posix,cn=linux,cn=Groups,dc=example,dc=com
memberuid: userOne
memberuid: userTwo
memberuid: userThree
gidnumber: xxxxx
objectclass: top
objectclass: posixGroup
objectclass: groupOfUniqueNames
description: Splunk SysAdmins
cn: splunk-admin-linux
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Sep 2015 22:19:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/After-installing-Splunk-on-RHE-Linux-6-and-configuring-it-to-use/m-p/208469#M7819</guid>
      <dc:creator>ralphw_SAIC</dc:creator>
      <dc:date>2015-09-09T22:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: After installing Splunk on RHE Linux 6 and configuring it to use LDAP, why am I getting login error "could not find a valid user="userOne" on any configured servers"?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/After-installing-Splunk-on-RHE-Linux-6-and-configuring-it-to-use/m-p/208470#M7820</link>
      <description>&lt;P&gt;Finding someone that reads in the LDAP group and having them configure the entries correctly.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2015 21:43:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/After-installing-Splunk-on-RHE-Linux-6-and-configuring-it-to-use/m-p/208470#M7820</guid>
      <dc:creator>ralphw_SAIC</dc:creator>
      <dc:date>2015-09-13T21:43:37Z</dc:date>
    </item>
  </channel>
</rss>

