Skip to content

Commit

Permalink
Merge pull request #289 from achmelo/staging_equal
Browse files Browse the repository at this point in the history
Support SAF IDT with APPL
  • Loading branch information
JoeNemo authored May 11, 2022
2 parents 41e27bb + 6e9ff53 commit 67f8fb4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
17 changes: 17 additions & 0 deletions c/zos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 5 additions & 0 deletions h/zos.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 67f8fb4

Please sign in to comment.