HP-UX AAA Server A.08.00.01 Administrator's Guide

output
DBR(100:*) RET(NAK)
DBR(-1:*) RET(ERROR)
DBC(aka_sequence_number, 64, CHAR) FUNC(IncAkaSeqNum) AAAHexToBinaryString
DBR(0:0) RET(ACK)
DBR(*:*) RET(ERROR)
SQLStatement db_oci {
SELECT aka_sequence_number
FROM RAD_USERS_TABLE
WHERE user_name=:runame
}
}
{
input
RAD(AKA-Sequence-Number, REPLY) DBP(seqnum, 253, CHAR)
RAD(Real-Username, REPLY) DBP(runame, 253, CHAR)
output
DBR(-1:*) RET(ERROR)
DBR(0:0) RET(ACK)
DBR(*:*) RET(NAK)
SQLStatement db_oci {
UPDATE RAD_USERS_TABLE set aka_sequence_number=:seqnum
where user_name=:runame
}
}
}
ResyncSQN SQL action derives the SQN from Vendor-specific attribute
(AKA-Synchronization-Token) (AUTS) in the REPLY queue that is sent by the client
when a synchronization failure occurs. The first mapping retrieves the subscriber key
for the corresponding real identity and the second mapping inserts the derived SQN
back to the database. A predefined sample GetResyncAkaSeqNum mapping function
is used to extract the SQN from AUTS. The mapping function inserts the extracted SQN
into REPLY queue after converting it into the hex string format.
SQLAction ResyncSQN {
{
input
RAD(Real-Username, REPLY) DBP(runame, 253, CHAR)
output
DBR(100:*) RET(NAK)
DBR(-1:*) RET(ERROR)
DBC(subscriber_key, 64, CHAR) FUNC(GetReSyncAkaSeqNum) AAAHexToBinaryString
DBR(0:0) RET(ACK)
DBR(*:*) RET(ERROR)
SQLStatement db_oci {
SELECT subscriber_key
FROM RAD_USERS_TABLE
WHERE user_name=:runame
}
}
{
input
RAD(AKA-Sequence-Number, REPLY) DBP(seqnum, 253, CHAR)
RAD(Real-Username, REPLY) DBP(ruser, 253, CHAR)
output
DBR(-1:*) RET(ERROR)
DBR(0:0) RET(ACK)
DBR(*:*) RET(NAK)
EAP-AKA 241