<?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 apache openvms username verification in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345449#M3140</link>
    <description>I'm a dutch system manager trying to figure out how to verify access on certain directories on disks. I can verify the username through the openvmsmodule  / apache combination but once I try to verify access on certain directories by means of the www_remote_user symbol I get failures. Can anyone tell me how I can get the www_* symbols into the process context.&lt;BR /&gt;Please send response also to:&lt;BR /&gt;kees.tok@mw-brabant.politie.nl</description>
    <pubDate>Fri, 30 Jul 2004 04:44:04 GMT</pubDate>
    <dc:creator>Marco van der Sijpt</dc:creator>
    <dc:date>2004-07-30T04:44:04Z</dc:date>
    <item>
      <title>apache openvms username verification</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345449#M3140</link>
      <description>I'm a dutch system manager trying to figure out how to verify access on certain directories on disks. I can verify the username through the openvmsmodule  / apache combination but once I try to verify access on certain directories by means of the www_remote_user symbol I get failures. Can anyone tell me how I can get the www_* symbols into the process context.&lt;BR /&gt;Please send response also to:&lt;BR /&gt;kees.tok@mw-brabant.politie.nl</description>
      <pubDate>Fri, 30 Jul 2004 04:44:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345449#M3140</guid>
      <dc:creator>Marco van der Sijpt</dc:creator>
      <dc:date>2004-07-30T04:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: apache openvms username verification</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345450#M3141</link>
      <description>AFAIK, the www_ prefix is not used with Apache. Try REMOTE_USER instead.&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jul 2004 08:53:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345450#M3141</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2004-07-30T08:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: apache openvms username verification</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345451#M3142</link>
      <description>Hi Marco,&lt;BR /&gt;&lt;BR /&gt;have a look at the&lt;BR /&gt;&lt;BR /&gt;[.APACHE.CGI-BIN]TEST-CGI-VMS.COM that comes with the distribution. This will show most of the variables set by Apache (REMOTE_USER is not in there since it is only set if you have an authenticated user I assume). Especially note that environment settings are not prefixed with &lt;BR /&gt;WWW_* like they are e.g. for the OSU server.&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
      <pubDate>Sat, 31 Jul 2004 19:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345451#M3142</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2004-07-31T19:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: apache openvms username verification</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345452#M3143</link>
      <description>Marco - you will need something like this in you HTTPD.CONF file :-&lt;BR /&gt;&lt;BR /&gt;&lt;DIRECTORY&gt;&lt;BR /&gt;    Options -Indexes Includes FollowSymLinks Multiviews&lt;BR /&gt;    AllowOverride None&lt;BR /&gt;    AuthType Basic&lt;BR /&gt;    AuthName "WebReport Logon"&lt;BR /&gt;    AuthOpenVMSGroup Off&lt;BR /&gt;    AuthOpenVMSAuthoritative On&lt;BR /&gt;    AuthUserOpenVMS On&lt;BR /&gt;    require valid-user&lt;BR /&gt;    Order deny,allow&lt;BR /&gt;    Deny from all&lt;BR /&gt;    Allow from all&lt;BR /&gt;&lt;/DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt;You mau also need to load it as a module :-&lt;BR /&gt;&lt;BR /&gt;LoadModule auth_openvms_module /apache$common/modules/mod_auth_openvms.exe_alpha&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;While I'm at it, you can also do a neet trick of authenticating against UAF and a file :-&lt;BR /&gt;&lt;BR /&gt;&lt;DIRECTORY&gt;&lt;BR /&gt;    Options -Indexes Includes FollowSymLinks Multiviews&lt;BR /&gt;    AllowOverride None&lt;BR /&gt;    AuthType Basic&lt;BR /&gt;    AuthName "Web-CMS Logon"&lt;BR /&gt;    AuthOpenVMSAuthoritative On&lt;BR /&gt;    AuthOpenVMSGroup off&lt;BR /&gt;    AuthGroupFile /cms$data/cms_group.prot&lt;BR /&gt;    AuthOpenVMSUser On&lt;BR /&gt;    require group cmsusers&lt;BR /&gt;    Order deny,allow&lt;BR /&gt;    Deny from all&lt;BR /&gt;    Allow from all&lt;BR /&gt;&lt;/DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt;You then simply create a file, in this case cms$data:cms_group.prot and place the usernames in against the group:-&lt;BR /&gt;&lt;BR /&gt;cmsusers: MFM mfm NZC nzc DZL dzl DHU dhu CML cml&lt;BR /&gt;&lt;BR /&gt;The reason for upper and lowercase is that Apache is case-sensitive, so I capture both logins.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, Rob.&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Aug 2004 03:48:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345452#M3143</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2004-08-02T03:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: apache openvms username verification</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345453#M3144</link>
      <description>Slightly midread your original request, although the answer I gave will give you directory level authentication.&lt;BR /&gt;&lt;BR /&gt;Here is some code I use for checking authentication for specific usernames, based on REMOTE_USER :-&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$       DCL     "CHECK_PRIV.COM"&lt;BR /&gt;$!&lt;BR /&gt;$!------------------------------------------------------------------------------&lt;BR /&gt;$! AUTHOR: Robert Atkinson - January 2003 &lt;BR /&gt;$! VERSION: 3.0&lt;BR /&gt;$!------------------------------------------------------------------------------&lt;BR /&gt;$! DESCRIPTION: Module to check and return privilege levels for a specific user.&lt;BR /&gt;$!------------------------------------------------------------------------------&lt;BR /&gt;$! RUN FREQUENCY      :&lt;BR /&gt;$! PRERUN REQUISITES  : &lt;BR /&gt;$! RERUN PROCEDURE    : &lt;BR /&gt;$! SPECIAL NOTE       : &lt;BR /&gt;$! PARAMETERS         : P1 = REQUIRED_LEVEL (USER/MANAGER)&lt;BR /&gt;$!                      P2 = OVERRIDE - STOP ERROR MESSAGES BEING OUTPUT&lt;BR /&gt;$!------------------------------------------------------------------------------&lt;BR /&gt;$! AMENDMENT LOG:&lt;BR /&gt;$! Date         Oper    Reason&lt;BR /&gt;$!------------------------------------------------------------------------------&lt;BR /&gt;$!&lt;BR /&gt;$       SET ON&lt;BR /&gt;$       ON ERROR THEN GOTO ERROR&lt;BR /&gt;$       !&lt;BR /&gt;$       REQUIRED_LEVEL = "''P1'"&lt;BR /&gt;$       OVERRIDE = "''P2'"&lt;BR /&gt;$       !&lt;BR /&gt;$START:&lt;BR /&gt;$       CMS$ACTION = "FALSE"&lt;BR /&gt;$       !&lt;BR /&gt;$       CMS$PRIV_MANAGER == "FALSE"&lt;BR /&gt;$       CMS$PRIV_USER == "FALSE"&lt;BR /&gt;$       !&lt;BR /&gt;$VERIFY_PRIV:&lt;BR /&gt;$       CMS$ACTION = "FALSE"&lt;BR /&gt;$       !&lt;BR /&gt;$       DEFINE SYS$OUTPUT SYS$TEMP:CMS_UAF_'PRCPID'.TMP&lt;BR /&gt;$       UAF SH 'REMOTE_USER'&lt;BR /&gt;$       DEASS SYS$OUTPUT&lt;BR /&gt;$       !&lt;BR /&gt;$CHECK_MANAGER:&lt;BR /&gt;$       @OPS$COM_FILES:EXTRACT_REPORT_LINE SYS$TEMP:CMS_UAF_'PRCPID'.TMP "  CMS_MANAGER " 0&lt;BR /&gt;$       !&lt;BR /&gt;$       IF EXTRACTED_LINE .EQS. "STRINGNOTFOUND"&lt;BR /&gt;$               THEN&lt;BR /&gt;$                 IF REQUIRED_LEVEL .EQS. "MANAGER" THEN GOSUB DISPLAY_ERROR_MESSAGE&lt;BR /&gt;$               ELSE&lt;BR /&gt;$                 CMS$PRIV_MANAGER == "TRUE"&lt;BR /&gt;$       ENDIF&lt;BR /&gt;$       !&lt;BR /&gt;$CHECK_USER:&lt;BR /&gt;$       @OPS$COM_FILES:EXTRACT_REPORT_LINE SYS$TEMP:CMS_UAF_'PRCPID'.TMP "  CMS_USER " 0&lt;BR /&gt;$       !&lt;BR /&gt;$       IF EXTRACTED_LINE .EQS. "STRINGNOTFOUND"&lt;BR /&gt;$               THEN&lt;BR /&gt;$                 IF REQUIRED_LEVEL .EQS. "USER" THEN GOSUB DISPLAY_ERROR_MESSAGE&lt;BR /&gt;$               ELSE&lt;BR /&gt;$                 CMS$PRIV_USER == "TRUE"&lt;BR /&gt;$       ENDIF&lt;BR /&gt;$       !&lt;BR /&gt;$       DEL /NOLOG SYS$TEMP:CMS_UAF_'PRCPID'.TMP;*&lt;BR /&gt;$       !&lt;BR /&gt;$       GOTO END&lt;BR /&gt;$       !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$DISPLAY_ERROR_MESSAGE:&lt;BR /&gt;$       IF OVERRIDE .EQS. "OVERRIDE" THEN GOTO END_DISPLAY_ERROR_MESSAGE&lt;BR /&gt;$       !&lt;BR /&gt;$       @CMS$SYSTEM:SHOW_OWNER&lt;BR /&gt;$       !&lt;BR /&gt;$       WS "&lt;TITLE&gt;Web-CMS - Privilege Error&lt;/TITLE&gt;"&lt;BR /&gt;$       !&lt;BR /&gt;$       WS "&amp;lt;meta content="" 2="" /&amp;gt;"&lt;BR /&gt;$       WS ""&lt;BR /&gt;$       WS ""&lt;BR /&gt;$       WS "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"&lt;BR /&gt;$       WS "&lt;P align="" center=""&gt;&lt;B&gt;&lt;FONT color="" red=""&gt;You do not have the required privilege to use this option!!!&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;"&lt;BR /&gt;$       WS ""&lt;BR /&gt;$       !&lt;BR /&gt;$END_DISPLAY_ERROR_MESSAGE:&lt;BR /&gt;$       RETURN&lt;BR /&gt;$       GOTO ERROR&lt;BR /&gt;$       !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$END:&lt;BR /&gt;$       EXIT %X00001&lt;BR /&gt;$       !&lt;BR /&gt;$ERROR:&lt;BR /&gt;$       ERRORMOD CHECK_PRIV ERROR "CHECK_PRIV HAS BLOWN OUT - PLEASE INVESTIGATE"&lt;BR /&gt;$       !&lt;BR /&gt;$       DEASS SYS$OUTPUT&lt;BR /&gt;$       !&lt;BR /&gt;$       EXIT %X00004&lt;BR /&gt;$       !&lt;BR /&gt;$       !&lt;BR /&gt;$       !</description>
      <pubDate>Mon, 02 Aug 2004 03:52:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/apache-openvms-username-verification/m-p/3345453#M3144</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2004-08-02T03:52:28Z</dc:date>
    </item>
  </channel>
</rss>

