From 29e654bd4261c665ca1a455446f5110d0fc7adb7 Mon Sep 17 00:00:00 2001 From: Vit Tomica Date: Wed, 9 Feb 2022 15:22:22 -0500 Subject: [PATCH] Support APPL keyword for IDT token call Signed-off-by: Vit Tomica --- c/zos.c | 17 +++++++++++++++++ h/zos.h | 5 +++++ 2 files changed, 22 insertions(+) diff --git a/c/zos.c b/c/zos.c index 08e0c4d2d..35335dabf 100644 --- a/c/zos.c +++ b/c/zos.c @@ -903,6 +903,23 @@ int safVerify6(int options, char *userid, char *password, idta)); } +int safVerify7(int options, char *userid, char *password, + ACEE **aceeHandle, char *appl, + int *racfStatus, int *racfReason, IDTA *idta) { + return (safVerifyInternal(options, + userid, + password, + NULL, + aceeHandle, + NULL, + 0, + appl, + 0, + racfStatus, + racfReason, + idta)); +} + static int safVerifyInternal(int options, char *userid, char *password, diff --git a/h/zos.h b/h/zos.h index bae7381d6..3ace66eac 100644 --- a/h/zos.h +++ b/h/zos.h @@ -1396,6 +1396,7 @@ int locate(char *dsn, int *volserCount, char *firstVolser); #define safVerify4 SAFVRFY4 #define safVerify5 SAFVRFY5 #define safVerify6 SAFVRFY6 +#define safVerify7 SAFVRFY7 ACEE *getAddressSpaceAcee(void); @@ -1440,6 +1441,10 @@ int safVerify6(int options, char *userid, char *password, ACEE **aceeHandle, int *racfStatus, int *racfReason, IDTA *idta); +int safVerify7(int options, char *userid, char *password, + ACEE **aceeHandle, char *appl, + int *racfStatus, int *racfReason, IDTA *idta); + /* second flag set */ #define SAF_AUTH_ATTR_ALTER 0x80 #define SAF_AUTH_ATTR_CONTROL 0x08