HP-UX AAA Server A.08.02.10 Administrator's Guide HP-UX 11i v3 (T1428-90093, November 2013)

4. In the /etc/opt/aaa/request-ingress.grp file, replace the <realm> variable and
configure the Otp-ActionId attribute according to the following rules:
Then
If you have
configured...
Replace the <realm> variable in the following syntax with the realm name configured in Step
1:
if ((count (User-Name) > 0) && (substr (User-Name after "@") = "<realm>"))
{
The realm for
RADIUS
standard
password
authentication
insert Otp-ActionId = 83
exit "ACK"
}
Replace the <realm> variable in the following syntax with the inner realm name configured in
Step 1:
if ((count (User-Name) > 0) && (substr (User-Name after "@") = "<realm>"))
{
Tunneled
realms with
different inner
and outer
realms for
insert Otp-ActionId = 83
exit "ACK"
}
EAP
authentication
Tunneled
realms with
1. Delete the following (default) condition in the /etc/opt/aaa/request-ingress.grp
file:
if ((count (User-Name) > 0) && (substr (User-Name after "@") = "<realm>"))
{
same inner
and outer
realms for
insert Otp-ActionId = 112
exit "ACK"
}
EAP
authentication
2. Based on the EAP authentication method you have configured, add one of the following
conditions in the /etc/opt/aaa/request-ingress.grp file, and replace the <realm>
variable with the inner realm name configured in step 1:
If you have configured the realm for PEAP (EAP-GTC) , add the following condition:
if ((count (User-Realm) > 0) && (User-Realm = "<realm>/peap"))
{
insert Otp-ActionId = 83
exit "ACK"
}
If you have configured the realm for TTLS (PAP), add the following condition:
if ((count (User-Realm) > 0) && (User-Realm = "<realm>/ttls"))
{
insert Otp-ActionId = 83
exit "ACK"
}
5. In the /etc/opt/aaa/reply-egress.grp file, replace the <realm> variable with the
configured realm name in step 1 as follows:
if ( (count (User-Realm) > 0) && (User-Realm = <realm>) )
Use the following rules while replacing the <realm> variable, with the realm name:
Then…If you have configured
Replace <realm> with the realm name configured in
step 1
The realm for RADIUS standard password authentication
Replace <realm> with the inner realm name configured
in step 1
Tunneled realms with different inner and outer realms
for EAP authentication
Replace <realm> with the inner realm name configured
in step 1 using the following syntax:
Tunneled realms with the same inner and outer realms
for EAP authentication
PEAP (EAP-GTC):
Configuring OTP Authentication on the HP-UX AAA Server 155