<?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 &amp;amp; CSWS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ldap-amp-csws/m-p/5332313#M45434</link>
    <description>&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given you've already found some PHP code to extract the user's credentials from the browser, I'd be inclined to explore the PHP LDAP module.&amp;nbsp; I'm not familiar with it (nor with Active Directory in any detail) so the following is offered as general advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going back to basics, there are two general ways of authenticating a user against an LDAP directory: one is to log in (bind) to the directory as the user, the other is to compare the supplied password against the password stored in the directory.&amp;nbsp; Choosing one over the other will be influenced by what is easier to do with that particular LDAP server and what the application needs to do once it's authenticated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're not particularly wedded to CSWS take a look at WASD instead.&amp;nbsp; It has better performance than CSWS, has some really good tools for debugging HTTP requests, and has a number of authentication mechanisms supported out-of-the-box.&amp;nbsp; I think there are users on the WASD mailing list who have done what you're trying to do.&amp;nbsp; &lt;A href="http://wasd.vsm.com.au/" target="_blank"&gt;http://wasd.vsm.com.au/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeremy Begg&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2011 02:33:27 GMT</pubDate>
    <dc:creator>Jeremy Begg</dc:creator>
    <dc:date>2011-09-15T02:33:27Z</dc:date>
    <item>
      <title>LDAP &amp; CSWS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ldap-amp-csws/m-p/5332019#M45433</link>
      <description>&lt;P&gt;OpenVMS V8.3&lt;/P&gt;&lt;P&gt;CSWS/Apache&lt;/P&gt;&lt;P&gt;CSWS_PHP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to authenticate Windows IE users against Active Directory.&amp;nbsp; I have found PHP code which requests the encoded Windows userid &amp;amp; password from Internet Explorer.&amp;nbsp; Now I'm lost as to how to do the authentication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I enable the PHP LDAP module? (can't find any documentation on how to use it)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I enable LDAP in CSWS? (then how do I get the UserID/pwd to CSWS from the PHP code?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As is obvious, this is all new to me.&amp;nbsp; Couldn't find help in my search of CSWS related docs or searching this forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2011 18:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ldap-amp-csws/m-p/5332019#M45433</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2011-09-14T18:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP &amp; CSWS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ldap-amp-csws/m-p/5332313#M45434</link>
      <description>&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given you've already found some PHP code to extract the user's credentials from the browser, I'd be inclined to explore the PHP LDAP module.&amp;nbsp; I'm not familiar with it (nor with Active Directory in any detail) so the following is offered as general advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going back to basics, there are two general ways of authenticating a user against an LDAP directory: one is to log in (bind) to the directory as the user, the other is to compare the supplied password against the password stored in the directory.&amp;nbsp; Choosing one over the other will be influenced by what is easier to do with that particular LDAP server and what the application needs to do once it's authenticated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're not particularly wedded to CSWS take a look at WASD instead.&amp;nbsp; It has better performance than CSWS, has some really good tools for debugging HTTP requests, and has a number of authentication mechanisms supported out-of-the-box.&amp;nbsp; I think there are users on the WASD mailing list who have done what you're trying to do.&amp;nbsp; &lt;A href="http://wasd.vsm.com.au/" target="_blank"&gt;http://wasd.vsm.com.au/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeremy Begg&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2011 02:33:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ldap-amp-csws/m-p/5332313#M45434</guid>
      <dc:creator>Jeremy Begg</dc:creator>
      <dc:date>2011-09-15T02:33:27Z</dc:date>
    </item>
  </channel>
</rss>

