tpcryptpw
-encrypt application password in administrative request
#include <atmi.h>
#include <fml32.h>
int tpcryptpw(FBFR32 *buf)
tpcryptpw
() is used to encrypt the application password stored in an administrative request buffer prior to sending the request for servicing. Application passwords are stored as string values using the FML32 field identifier TA_PASSWORD
. This encryption is necessary to insure that clear text passwords are not compromised and that appropriate propagation of the update can take place to all active application sites. Additional system fields may be added to the callers buffer and existing fields may be modified to satisfy the request.
tpcryptpw
() returns -1 on failure and sets tperrno
to indicate the error condition.
Under the following conditions, tpcryptpw
() fails and sets tperrno
to one of the following values:
TPEINVAL
]
buf
value is NULL, does not point to a FML32 typed buffer or appdir could not be determined from the input buffer or the environment.
TPEPERM
]
TPEOS
]
Uunixerr
.
TPESYSTEM
]
This interface is available only on UNIX System sites running BEA TUXEDO Release 5.0 or later. This interface is not available to workstation clients.
${TUXDIR}/lib/libtmib.a, ${TUXDIR}/lib/libtmib.so.<rel>
MIB
(5), TM_MIB
(5), BEA TUXEDO Administrator's Guide