<?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: LDAP Authentication Issues in HPE 3PAR StoreServ Storage</title>
    <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/ldap-authentication-issues/m-p/6676893#M1609</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very well Self Solved..:)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the script to set up LDAP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;Just replace the info with the customers info

REM assuming all windows default security params

REM setauthparam	&lt;SPAN class="hl05"&gt;ldap&lt;/SPAN&gt;-server &amp;lt;IP-Address&amp;gt;
REM setauthparam	&lt;SPAN class="hl05"&gt;ldap&lt;/SPAN&gt;-server-hn &amp;lt;DNS-hostname&amp;gt;
REM setauthparam	kerberos-realm	&amp;lt;&lt;SPAN class="hl05"&gt;LDAP&lt;/SPAN&gt;-ServiceName&amp;gt; - CASE SENSITIVE

REM setauthparam binding sasl
REM setauthparam sasl-mechanism GSSAPI

REM setauthparam accounts-dn &amp;lt;dn-path&amp;gt;
REM setauthparam account-obj user (tells the &lt;SPAN class="hl05"&gt;LDAP&lt;/SPAN&gt; client to search for users) REM setauthparam account-name-attr SAMAccountName REM setauthparam memberof-attr memberOf REM checkpassword


---- REM EXAMPLE &lt;SPAN class="hl05"&gt;USING&lt;/SPAN&gt; THE LAB MACHINES ----
REM assuming all default windows params
REM clear out all old params

setauthparam -f clearall
setauthparam -f		&lt;SPAN class="hl05"&gt;ldap&lt;/SPAN&gt;-server 192.168.47.100
setauthparam -f		&lt;SPAN class="hl05"&gt;ldap&lt;/SPAN&gt;-server-hn mktg-admin0.3par-mktg.3pardata.com
setauthparam -f		kerberos-realm 3PAR-MKTG.3PARDATA.COM

setauthparam -f 	binding sasl
setauthparam -f 	sasl-mechanism GSSAPI

setauthparam -f 	accounts-dn cn=Users,dc=3par-mktg,dc=3pardata,dc=com
setauthparam -f 	account-obj user 
setauthparam -f 	account-name-attr sAMAccountName
setauthparam -f 	memberof-attr memberOf
setauthparam super-map "cn=Domain Admins,cn=Users,dc=3par-mktg,dc=3pardata,dc=com"&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;PS&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 24 Nov 2014 05:32:50 GMT</pubDate>
    <dc:creator>Prakash Singh_1</dc:creator>
    <dc:date>2014-11-24T05:32:50Z</dc:date>
    <item>
      <title>LDAP Authentication Issues</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/ldap-authentication-issues/m-p/6670766#M1594</link>
      <description>&lt;P&gt;I am having some issues with setting up authentication. I am doing the checkpassword command with one of my domain accounts and the "searching LDAP using:" looks questionable. The filter seems to be attempting to filter on objectClass group not user and I am not sure why. I am currently trying to authenticate to an Windows 2012 R2 Active Directory Server. I have included some screen shots with vital info redacted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;showauthparam:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.hpe.com/t5/image/serverpage/image-id/54786iB6B76197598B2443/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="11-13-2014 10-41-59 AM.png" title="11-13-2014 10-41-59 AM.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;checkpassword:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.hpe.com/t5/image/serverpage/image-id/54782i2960B77A3FA8CE00/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="11-13-2014 10-45-23 AM.png" title="11-13-2014 10-45-23 AM.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2014 15:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/ldap-authentication-issues/m-p/6670766#M1594</guid>
      <dc:creator>L1nklight</dc:creator>
      <dc:date>2014-11-13T15:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication Issues</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/ldap-authentication-issues/m-p/6673288#M1601</link>
      <description>&lt;P&gt;So I ended up having to punt on this one. I went through the CLI reference guide for 3.2.1 MU1 and I found the command to clear all auth params. I ran the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;setauthparams -f -clearall&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I did that I ran through the setauthparams&amp;nbsp;again. I used the following commands, in the following order:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;setauthparam -f ldap-server &amp;lt;ipaddress of domain controller to use&amp;gt;&lt;/P&gt;&lt;P&gt;setauthparam -f ldap-server-hn &amp;lt;DNS_Hostname of DC, case insensitive&amp;gt;&lt;/P&gt;&lt;P&gt;setauthparam -f kerberos-realm &amp;lt;LDAP_Service name, case sensitive. Use LDP.exe on DC and pull value from the output connecting to the DC&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;setauthparam -f binding sasl&lt;/P&gt;&lt;P&gt;setauthparam -f sasl-mechanism GSSAPI&lt;/P&gt;&lt;P&gt;setauthparam -f accounts-dn &amp;lt;dn path, you can pull DN path from adsi or the attributes tab in ADUC if you have advanced mode enabled&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;setauthparam -f account-obj user (This value needs to be "user" specifically for AD)&lt;/P&gt;&lt;P&gt;setauthparam -f account-name-attr sAMAccountName (if you look at page 22 on the CLI Admins Reference guide for 3.2.1 MU1 this value says "sAMAccount". This is completely wrong. Windows AD requires sAMAccountName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;setauthparam -f memberof-attr memberOf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;setauthparam -f &amp;lt;map_param&amp;gt; &amp;lt;map_value, DN of group that you wish to reference in AD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In some writeups the following is listed as a required command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;setauthparams -f account-group group&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do not use that command. It triggers the filter for parsing Active Directory to change to "group" instead of authenticating per user. That's essentially what was throwing off my AD configuration.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 19:55:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/ldap-authentication-issues/m-p/6673288#M1601</guid>
      <dc:creator>L1nklight</dc:creator>
      <dc:date>2014-11-17T19:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication Issues</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/ldap-authentication-issues/m-p/6676893#M1609</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very well Self Solved..:)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the script to set up LDAP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;Just replace the info with the customers info

REM assuming all windows default security params

REM setauthparam	&lt;SPAN class="hl05"&gt;ldap&lt;/SPAN&gt;-server &amp;lt;IP-Address&amp;gt;
REM setauthparam	&lt;SPAN class="hl05"&gt;ldap&lt;/SPAN&gt;-server-hn &amp;lt;DNS-hostname&amp;gt;
REM setauthparam	kerberos-realm	&amp;lt;&lt;SPAN class="hl05"&gt;LDAP&lt;/SPAN&gt;-ServiceName&amp;gt; - CASE SENSITIVE

REM setauthparam binding sasl
REM setauthparam sasl-mechanism GSSAPI

REM setauthparam accounts-dn &amp;lt;dn-path&amp;gt;
REM setauthparam account-obj user (tells the &lt;SPAN class="hl05"&gt;LDAP&lt;/SPAN&gt; client to search for users) REM setauthparam account-name-attr SAMAccountName REM setauthparam memberof-attr memberOf REM checkpassword


---- REM EXAMPLE &lt;SPAN class="hl05"&gt;USING&lt;/SPAN&gt; THE LAB MACHINES ----
REM assuming all default windows params
REM clear out all old params

setauthparam -f clearall
setauthparam -f		&lt;SPAN class="hl05"&gt;ldap&lt;/SPAN&gt;-server 192.168.47.100
setauthparam -f		&lt;SPAN class="hl05"&gt;ldap&lt;/SPAN&gt;-server-hn mktg-admin0.3par-mktg.3pardata.com
setauthparam -f		kerberos-realm 3PAR-MKTG.3PARDATA.COM

setauthparam -f 	binding sasl
setauthparam -f 	sasl-mechanism GSSAPI

setauthparam -f 	accounts-dn cn=Users,dc=3par-mktg,dc=3pardata,dc=com
setauthparam -f 	account-obj user 
setauthparam -f 	account-name-attr sAMAccountName
setauthparam -f 	memberof-attr memberOf
setauthparam super-map "cn=Domain Admins,cn=Users,dc=3par-mktg,dc=3pardata,dc=com"&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;PS&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Nov 2014 05:32:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/ldap-authentication-issues/m-p/6676893#M1609</guid>
      <dc:creator>Prakash Singh_1</dc:creator>
      <dc:date>2014-11-24T05:32:50Z</dc:date>
    </item>
  </channel>
</rss>

