<?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: On OpenVMS 8.4, does SSH use LDAP or SYSUAF.DAT for authentication? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/on-openvms-8-4-does-ssh-use-ldap-or-sysuaf-dat-for/m-p/5380969#M102330</link>
    <description>&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is the first time I've not gotten an answer on a question but I had some free time so I went ahead and answered it myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have investigated the compatibility of SSH and LDAP under OpenVMS 8.4 and found that it still sufferers from the same problem.&amp;nbsp; SSH is being authenticated without the use of LOGINOUT.EXE so it is authenticating the entered password against SYSUAF.DAT and not active directory, (AD.)&amp;nbsp; Reproducing this is confusing as the HP LDAP implementation will, if compatible applications like SET HOST or TELNET are used, update the SYSUAF.DAT database, (see 1 below,) thereby giving the impression that SSH is going to AD while it is really going to SYSUAF.DAT for authentication. (see 2 below for clues)&amp;nbsp; Below are the versions I'm using.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HP TCP/IP Services for OpenVMS Alpha Version V5.7 - ECO 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; on an AlphaServer DS10L 466 MHz running OpenVMS V8.4 update 500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't know how SSH&amp;nbsp;is designed.&amp;nbsp;&amp;nbsp;It may be impossible to get&amp;nbsp;SSH to authenticate directly with AD using LDAP.&amp;nbsp; Updating SYSUAF.DAT may be the best work around that is possible.&amp;nbsp; But, it's important to know how it works going in otherwise one might be baffled by the results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1) When using apps like telnet or set host you will see at login:&lt;/P&gt;&lt;P&gt;**** Logon authenticated by LDAP ****&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OpenVMS password has been synchronized with external password&lt;/P&gt;&lt;P&gt;Indicates that LDAP has change the SYSUAF.DAT password DB to the AD password&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(2)&amp;nbsp; Some ways to identify a non-LDAP log on.&amp;nbsp; 1.) you will not see "**** Logon authenticated by LDAP ****"&amp;nbsp; 2.)&amp;nbsp; Even though you might be using the same AD password, it will not be case sensitive; it is when LDAP is being used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;W. Clark Powell&lt;/P&gt;&lt;P&gt;system programmer&lt;/P&gt;&lt;P&gt;Virginia Mason Medical Center&lt;/P&gt;&lt;P&gt;Seattle, WA&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2011 16:42:38 GMT</pubDate>
    <dc:creator>Clark Powell</dc:creator>
    <dc:date>2011-11-03T16:42:38Z</dc:date>
    <item>
      <title>On OpenVMS 8.4, does SSH use LDAP or SYSUAF.DAT for authentication?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/on-openvms-8-4-does-ssh-use-ldap-or-sysuaf-dat-for/m-p/5362707#M102329</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Perhaps somebody can help me verify if in OpenVMS 8.4 that SSH is being authenticated by LDAP and not by SYSUAF.DAT.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;I know that it is true that under OpenVMS 8.3 (tcpip V5.6 - ECO 5)&amp;nbsp;that SSH&amp;nbsp;is&amp;nbsp;using SYSUAF.DAT for authentication and not LDAP.&amp;nbsp; Many including myself have been fooled because the HP implementation of LDAP will update the SYSUAF password when it changes.&amp;nbsp; One must scroll back and look at the login to know if LDAP is being used.&amp;nbsp; You will see,&lt;/P&gt;&lt;P&gt;**** Logon authenticated by LDAP ****&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OpenVMS password has been synchronized with external password&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second line occurs when there is a successful LDAP login and the password in SYSUAF.DAT is not the same as the LDAP password.&amp;nbsp; It means what is says.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Using SSH under OpenVMS 8.3 you won't see either of those lines because SSH is going directly to the SYSUAF.DAT for authentication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Try this test.&amp;nbsp; First log into your LDAP&amp;nbsp;and SSH&amp;nbsp;system&amp;nbsp;using an account with EXTAUTH&amp;nbsp;flag.&amp;nbsp;&amp;nbsp;Do this&amp;nbsp;to verify that your&amp;nbsp;SSH&amp;nbsp;is working.&amp;nbsp; Then use&amp;nbsp;AUTHORIZE&amp;nbsp;change the password, log out, and SSH back in.&amp;nbsp; You will not be able to use the old SSH password but you will be able to use the new one that you set with authorize.&amp;nbsp;&amp;nbsp;Log using telnet or decent or anything that uses LOGINOUT.EXE and use the LDAP password.&amp;nbsp; You will see the above lines because using LOGINOUT.EXE does sync&amp;nbsp;SYSUAF.DAT with LDAP&amp;nbsp;and then you will be able to log in using&amp;nbsp;SSH&amp;nbsp;and the ldap password.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I 've done this on OpenVMS 8.3 and I know that SSH doesn't authenticate with LDAP&amp;nbsp;but I have been told that this problem was fixed in OpenVMS 8.4.&amp;nbsp; I don't have an 8.4 system so I was wondering if anyone with an 8.4 system could check this for me?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2011 21:02:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/on-openvms-8-4-does-ssh-use-ldap-or-sysuaf-dat-for/m-p/5362707#M102329</guid>
      <dc:creator>Clark Powell</dc:creator>
      <dc:date>2011-10-14T21:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: On OpenVMS 8.4, does SSH use LDAP or SYSUAF.DAT for authentication?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/on-openvms-8-4-does-ssh-use-ldap-or-sysuaf-dat-for/m-p/5380969#M102330</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is the first time I've not gotten an answer on a question but I had some free time so I went ahead and answered it myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have investigated the compatibility of SSH and LDAP under OpenVMS 8.4 and found that it still sufferers from the same problem.&amp;nbsp; SSH is being authenticated without the use of LOGINOUT.EXE so it is authenticating the entered password against SYSUAF.DAT and not active directory, (AD.)&amp;nbsp; Reproducing this is confusing as the HP LDAP implementation will, if compatible applications like SET HOST or TELNET are used, update the SYSUAF.DAT database, (see 1 below,) thereby giving the impression that SSH is going to AD while it is really going to SYSUAF.DAT for authentication. (see 2 below for clues)&amp;nbsp; Below are the versions I'm using.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HP TCP/IP Services for OpenVMS Alpha Version V5.7 - ECO 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; on an AlphaServer DS10L 466 MHz running OpenVMS V8.4 update 500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't know how SSH&amp;nbsp;is designed.&amp;nbsp;&amp;nbsp;It may be impossible to get&amp;nbsp;SSH to authenticate directly with AD using LDAP.&amp;nbsp; Updating SYSUAF.DAT may be the best work around that is possible.&amp;nbsp; But, it's important to know how it works going in otherwise one might be baffled by the results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1) When using apps like telnet or set host you will see at login:&lt;/P&gt;&lt;P&gt;**** Logon authenticated by LDAP ****&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OpenVMS password has been synchronized with external password&lt;/P&gt;&lt;P&gt;Indicates that LDAP has change the SYSUAF.DAT password DB to the AD password&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(2)&amp;nbsp; Some ways to identify a non-LDAP log on.&amp;nbsp; 1.) you will not see "**** Logon authenticated by LDAP ****"&amp;nbsp; 2.)&amp;nbsp; Even though you might be using the same AD password, it will not be case sensitive; it is when LDAP is being used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;W. Clark Powell&lt;/P&gt;&lt;P&gt;system programmer&lt;/P&gt;&lt;P&gt;Virginia Mason Medical Center&lt;/P&gt;&lt;P&gt;Seattle, WA&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 16:42:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/on-openvms-8-4-does-ssh-use-ldap-or-sysuaf-dat-for/m-p/5380969#M102330</guid>
      <dc:creator>Clark Powell</dc:creator>
      <dc:date>2011-11-03T16:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: On OpenVMS 8.4, does SSH use LDAP or SYSUAF.DAT for authentication?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/on-openvms-8-4-does-ssh-use-ldap-or-sysuaf-dat-for/m-p/5381047#M102331</link>
      <description>&lt;P&gt;Interesting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What OpenVMS provides is&amp;nbsp;single-signon external authentication. &amp;nbsp; (The implementation&amp;nbsp;is strictly passwords, and only a microscopic fraction of what a full-on LDAP login system can provide. &amp;nbsp;In a full implementation, user information including location and email addresses and mail server, and maybe details such as the notebook Notes conference settings and the Notes seen map and a host of other user-level details would be stored in LDAP and loaded as needed, and not maintained (only) locally.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;telnet and SET HOST invoke LOGINOUT. &amp;nbsp;LOGINOUT (with the ACME LOGINOUT Image loaded) verifies the password against the designated LDAP server; Open Directory or Active Directory or another provider.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These mechanisms work by setting up a terminal device and triggering unsolicited input, which Job Control sees as a login request and launches LOGINOUT. &amp;nbsp;(This particular sequence is obviously not feasible with ssh, as the LOGINOUT user and password prompting isn't compatible with how ssh is supposed to work. &amp;nbsp;LOGINOUT would need modifications to implement certificate-based access.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To add external authentication into the OpenVMS ssh server, ssh would need to be recoded to use calls into ACME; calls to either $acm or $acmw. &amp;nbsp;The existing authentication within the environment (probably $getuai-based) would probably be ripped out, and replaced with the $acm[w] system service calls. &amp;nbsp;(&lt;A target="_blank" href="http://labs.hoffmanlabs.com/node/1514"&gt;Here is an example of using $acmw&lt;/A&gt;.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd expect the existing processing within ssh is older than $acm[w], and has not been updated to use ACME.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other option (for you) is to &lt;A target="_blank" href="http://labs.hoffmanlabs.com/node/1118"&gt;set up a certificate-based login&lt;/A&gt;, and skip the password processing entirely. &amp;nbsp;(There's a PDF available via that page that walks through setting up certificate logins from Mac OS X Terminal.app and from Windows using PuTTY, too.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MultiNet appears to have another available option here, with its authentication server. &amp;nbsp;I don't know off-hand if the Process ssh tools (which were available as a separate product) support ACME-based logins, but it's worth a look.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 17:50:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/on-openvms-8-4-does-ssh-use-ldap-or-sysuaf-dat-for/m-p/5381047#M102331</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-11-03T17:50:26Z</dc:date>
    </item>
  </channel>
</rss>

