Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions credentials/src/credlin.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ cred_login(unsigned addr, unsigned char *userid, unsigned char *password)
cred = cred_find_by_token(&tok);
if (cred) goto cleanup;

/* attempt to login via racf interface */
/* attempt to login via racf interface. On failure RAKF already writes its
own RAKF0004 audit message, so we do NOT log here -- an httpd message
would only duplicate it, and logging the attempted password (pass) would
leak a plaintext credential to the console/SYSLOG (issue #116). */
acee = racf_login(user, pass, 0, &rc);
if (!acee) {
wtof("%s: racf_login(\"%s\", \"%s\") failed, rc=%d",
__func__, user, pass, rc);
goto cleanup;
}

Expand Down