!*** MODULE $ACMEDEF *** CDEC$ OPTIONS /NOALIGN ! ! Definitions for the $AUTHENTICATE[W], $LOGON[W], and $SET_PASSWORD[W] ! system services. ! ! ! $LOGON[W] function codes. ! PARAMETER ACME$_MAP_TO_USERNAME = '00000001'X ! Map userid to username PARAMETER ACME$_VERIFY_PASSWORD_ONLY = '00000002'X ! Authenticate password PARAMETER ACME$_MAX_FUNCTION_CODE = '00000003'X ! maximum legal function code + 1 ! ! Item codes. Codes specific to a particular service are noted: ! ! $AU = $AUTHENTICATE[W] ! $LO = $LOGON[W] ! $SP = $SET_PASSWORD[W] ! PARAMETER ACME$_NULL = '00000001'X ! NULL item code (skip item) PARAMETER ACME$_DOMAIN = '00000002'X ! Authentication domain PARAMETER ACME$_USERID = '00000003'X ! User ID PARAMETER ACME$_PASSWORD = '00000004'X ! Single password PARAMETER ACME$_PASSWORD_LIST = '00000005'X ! Password list PARAMETER ACME$_NEW_PASSWORD = '00000006'X ! New password ($SP) PARAMETER ACME$_OUTPUT_VMS_USERNAME = '00000007'X ! Mapped OpenVMS username ($LO) PARAMETER ACME$_NOAUTHENTICATION = '00000008'X ! No password authentication ($SP) PARAMETER ACME$_OVERRIDE_POLICY = '00000009'X ! Override password policy ($SP) PARAMETER ACME$_SYNCHRONIZE = '0000000A'X ! Set password in all domains ($SP) PARAMETER ACME$_REASON_CODE = '0000000B'X ! ACME-specific reason code PARAMETER ACME$_VALIDATE_ONLY = '0000000C'X ! Validate user can login ($LO) PARAMETER ACME$_UAF_RECORD_LOCKED = '0000000D'X ! Advisory that UAF record is locked ($LO) PARAMETER ACME$_RESERVED_ITEM_1 = '0000000E'X ! Reserved 1 PARAMETER ACME$_RESERVED_ITEM_2 = '0000000F'X ! Reserved 2 PARAMETER ACME$_MAX_ITEM_CODE = '00000010'X ! maximum legal item code + 1 ! ! Structures and constants. ! PARAMETER ACME$C_MAJOR_VERSION = '00000001'X ! Major ACME version PARAMETER ACME$C_MINOR_VERSION = '00000000'X ! Minor ACME version PARAMETER ACME$S_MAX_DOMAIN = '00000100'X ! Maximum domain length PARAMETER ACME$S_MAX_USERID = '00000100'X ! Maximum userid length PARAMETER ACME$S_MAX_PASSWORD = '00000100'X ! Maximum password length ! ! The PASSWORD_LIST item code requires a list of password items with each ! item specified by a PWDITM structure definition. The list is terminated ! by a longword zero. ! STRUCTURE /ACME$R_PWDITM/ UNION MAP INTEGER*4 ACME$L_TERMINATOR ! Termination longword END MAP MAP INTEGER*2 ACME$W_PWDNUM ! Password number (1=primary, etc.) INTEGER*2 ACME$W_RSRVD1 ! reserved for future use, MBZ END MAP END UNION INTEGER*4 ACME$A_OLDPWD ! Descriptor address for old password INTEGER*4 ACME$A_NEWPWD ! Descriptor address for new password END STRUCTURE ! ACME$R_PWDITM ! ! Maximum password number to be used in password list ! PARAMETER ACME$C_MAX_PASSWORD_NUM = '00000008'X CDEC$ END OPTIONS