/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:53 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:06 _$11$DUA933:[BUILD.SDL]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $ACMEDEF ***/ #ifndef __ACMEDEF_LOADED #define __ACMEDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /* */ /* Definitions for the $AUTHENTICATE[W], $LOGON[W], and $SET_PASSWORD[W] */ /* system services. */ /* */ /* */ /* $LOGON[W] function codes. */ /* */ #define ACME$_MAP_TO_USERNAME 1 /* Map userid to username */ #define ACME$_VERIFY_PASSWORD_ONLY 2 /* Authenticate password */ #define ACME$_MAX_FUNCTION_CODE 3 /* 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] */ /* */ #define ACME$_NULL 1 /* NULL item code (skip item) */ #define ACME$_DOMAIN 2 /* Authentication domain */ #define ACME$_USERID 3 /* User ID */ #define ACME$_PASSWORD 4 /* Single password */ #define ACME$_PASSWORD_LIST 5 /* Password list */ #define ACME$_NEW_PASSWORD 6 /* New password ($SP) */ #define ACME$_OUTPUT_VMS_USERNAME 7 /* Mapped OpenVMS username ($LO) */ #define ACME$_NOAUTHENTICATION 8 /* No password authentication ($SP) */ #define ACME$_OVERRIDE_POLICY 9 /* Override password policy ($SP) */ #define ACME$_SYNCHRONIZE 10 /* Set password in all domains ($SP) */ #define ACME$_REASON_CODE 11 /* ACME-specific reason code */ #define ACME$_VALIDATE_ONLY 12 /* Validate user can login ($LO) */ #define ACME$_UAF_RECORD_LOCKED 13 /* Advisory that UAF record is locked ($LO) */ #define ACME$_RESERVED_ITEM_1 14 /* Reserved 1 */ #define ACME$_RESERVED_ITEM_2 15 /* Reserved 2 */ #define ACME$_MAX_ITEM_CODE 16 /* maximum legal item code + 1 */ /* */ /* Structures and constants. */ /* */ #define ACME$C_MAJOR_VERSION 1 /* Major ACME version */ #define ACME$C_MINOR_VERSION 0 /* Minor ACME version */ #define ACME$S_MAX_DOMAIN 256 /* Maximum domain length */ #define ACME$S_MAX_USERID 256 /* Maximum userid length */ #define ACME$S_MAX_PASSWORD 256 /* 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. */ /* */ struct acme$r_pwditm { __union { unsigned int acme$l_terminator; /* Termination longword */ __struct { unsigned short int acme$w_pwdnum; /* Password number (1=primary, etc.) */ unsigned short int acme$w_rsrvd1; /* reserved for future use, MBZ */ } acme$r_pwdnum_fields; } acme$r_pwdtrm; void *acme$a_oldpwd; /* Descriptor address for old password */ void *acme$a_newpwd; /* Descriptor address for new password */ } ; #if !defined(__VAXC) && !defined(VAXC) #define acme$l_terminator acme$r_pwdtrm.acme$l_terminator #define acme$w_pwdnum acme$r_pwdtrm.acme$r_pwdnum_fields.acme$w_pwdnum #define acme$w_rsrvd1 acme$r_pwdtrm.acme$r_pwdnum_fields.acme$w_rsrvd1 #endif /* #if !defined(__VAXC) && !defined(VAXC) */ /* */ /* Maximum password number to be used in password list */ /* */ #define ACME$C_MAX_PASSWORD_NUM 8 #ifdef __cplusplus } #endif #pragma standard #endif /* __ACMEDEF_LOADED */