<?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 Unable to authenticate users in active directory in Security</title>
    <link>https://community.splunk.com/t5/Security/Unable-to-authenticate-users-in-active-directory/m-p/58982#M1958</link>
    <description>&lt;P&gt;I have splunk configured to authenticate against AD. I have my service account set and the following options configured:&lt;/P&gt;

&lt;P&gt;User Base DN: OU=Users,OU=My City,OU=North America,DC=us,DC=mydomain,DC=com&lt;/P&gt;

&lt;P&gt;User Name Attribute: samaccountname&lt;/P&gt;

&lt;P&gt;Group Mapping: memberof&lt;/P&gt;

&lt;P&gt;Group Base DN: OU=Groups,OU=My City,OU=North America,DC=us,DC=mydomain,DC=com&lt;/P&gt;

&lt;P&gt;Group Name Attribute: cn&lt;/P&gt;

&lt;P&gt;Group Member Attr: member&lt;/P&gt;

&lt;P&gt;Once saved, I can get a list of my groups just fine when I click on the "Configure LDAP Role Mapping" link. This is where it gets strange. I have a few users in a group called "Product Ops". In this group, there are about 10 users defined (example):&lt;/P&gt;

&lt;P&gt;CN=Some Person,OU=Users,OU=My City,OU=North America,DC=us,DC=mydomain,DC=com&lt;/P&gt;

&lt;P&gt;I assign this group "Product Ops" to the user role and click save. No users are able to log in and I find something like this in the logs:&lt;/P&gt;

&lt;P&gt;splunkd.log:03-14-2011 16:04:09.722 WARN  AuthenticationManagerLDAP - User 'someuser' had 6 values for mapping attribute 'memberof'. Group members should be uniquely defined.&lt;/P&gt;

&lt;P&gt;splunkd.log:03-14-2011 16:04:09.724 ERROR AuthenticationManagerLDAP - User 'someuser' has matching LDAP groups, but none are mapped to Splunk roles&lt;/P&gt;

&lt;P&gt;Now if I added a new group in my AD called "Splunk Users" and instead of putting the user directly into the group and just move the "Product Ops" into is, the user can log in just fine.&lt;/P&gt;

&lt;P&gt;What am I missing here? I'm at the point where I'd much rather just link individual users from AD to splunk roles (can this be done?)&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2011 04:09:18 GMT</pubDate>
    <dc:creator>jeffwarn</dc:creator>
    <dc:date>2011-03-15T04:09:18Z</dc:date>
    <item>
      <title>Unable to authenticate users in active directory</title>
      <link>https://community.splunk.com/t5/Security/Unable-to-authenticate-users-in-active-directory/m-p/58982#M1958</link>
      <description>&lt;P&gt;I have splunk configured to authenticate against AD. I have my service account set and the following options configured:&lt;/P&gt;

&lt;P&gt;User Base DN: OU=Users,OU=My City,OU=North America,DC=us,DC=mydomain,DC=com&lt;/P&gt;

&lt;P&gt;User Name Attribute: samaccountname&lt;/P&gt;

&lt;P&gt;Group Mapping: memberof&lt;/P&gt;

&lt;P&gt;Group Base DN: OU=Groups,OU=My City,OU=North America,DC=us,DC=mydomain,DC=com&lt;/P&gt;

&lt;P&gt;Group Name Attribute: cn&lt;/P&gt;

&lt;P&gt;Group Member Attr: member&lt;/P&gt;

&lt;P&gt;Once saved, I can get a list of my groups just fine when I click on the "Configure LDAP Role Mapping" link. This is where it gets strange. I have a few users in a group called "Product Ops". In this group, there are about 10 users defined (example):&lt;/P&gt;

&lt;P&gt;CN=Some Person,OU=Users,OU=My City,OU=North America,DC=us,DC=mydomain,DC=com&lt;/P&gt;

&lt;P&gt;I assign this group "Product Ops" to the user role and click save. No users are able to log in and I find something like this in the logs:&lt;/P&gt;

&lt;P&gt;splunkd.log:03-14-2011 16:04:09.722 WARN  AuthenticationManagerLDAP - User 'someuser' had 6 values for mapping attribute 'memberof'. Group members should be uniquely defined.&lt;/P&gt;

&lt;P&gt;splunkd.log:03-14-2011 16:04:09.724 ERROR AuthenticationManagerLDAP - User 'someuser' has matching LDAP groups, but none are mapped to Splunk roles&lt;/P&gt;

&lt;P&gt;Now if I added a new group in my AD called "Splunk Users" and instead of putting the user directly into the group and just move the "Product Ops" into is, the user can log in just fine.&lt;/P&gt;

&lt;P&gt;What am I missing here? I'm at the point where I'd much rather just link individual users from AD to splunk roles (can this be done?)&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2011 04:09:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-to-authenticate-users-in-active-directory/m-p/58982#M1958</guid>
      <dc:creator>jeffwarn</dc:creator>
      <dc:date>2011-03-15T04:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to authenticate users in active directory</title>
      <link>https://community.splunk.com/t5/Security/Unable-to-authenticate-users-in-active-directory/m-p/58983#M1959</link>
      <description>&lt;P&gt;The Group Mapping attribute in AD should be left blank, or set to "distinguishedName" or "dn". This attribute specifies what field within the user record maps to the Group Member Attribute within the group. In AD (and LDAP in general) groups are not stored on the user object, but on the group object. The AD users &lt;CODE&gt;memberof&lt;/CODE&gt; attribute is a synthetic attribute based on the group &lt;CODE&gt;member&lt;/CODE&gt; attribute&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2011 06:54:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-to-authenticate-users-in-active-directory/m-p/58983#M1959</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-03-15T06:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to authenticate users in active directory</title>
      <link>https://community.splunk.com/t5/Security/Unable-to-authenticate-users-in-active-directory/m-p/58984#M1960</link>
      <description>&lt;P&gt;Thanks that did it. On a side note, that actually broke the way it was working (embedded groups), but I saw that technically isn't supported at the moment.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2011 20:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-to-authenticate-users-in-active-directory/m-p/58984#M1960</guid>
      <dc:creator>jeffwarn</dc:creator>
      <dc:date>2011-03-15T20:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to authenticate users in active directory</title>
      <link>https://community.splunk.com/t5/Security/Unable-to-authenticate-users-in-active-directory/m-p/58985#M1961</link>
      <description>&lt;P&gt;Perfect It works for me after 3 days of headache. &lt;BR /&gt;
THanks  a ton !!! &lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 02:24:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-to-authenticate-users-in-active-directory/m-p/58985#M1961</guid>
      <dc:creator>praveenkpatidar</dc:creator>
      <dc:date>2016-06-23T02:24:11Z</dc:date>
    </item>
  </channel>
</rss>

