HP-UX AAA Server A.08.02 Administrator's Guide
$ sed "s/<groupname>/test_group/g"
/opt/aaa/examples/sqlaccess/oracle-1/sqlaccess.config.dynauth_server_group
>> /etc/opt/aaa/sqlaccess.config
For MySQL, enter the following command at the prompt:
$ sed "s/<groupname>/test_group/g"
/opt/aaa/examples/sqlaccess/mysql-1/sqlaccess.config.dynauth_server_group
>> /etc/opt/aaa/sqlaccess.config
6. Copy the required policy files. Enter the following commands at the HP-UX prompt:
• $ cp /opt/aaa/examples/config/client-request-init.grp.dynauth
/etc/opt/aaa/client-request-init.grp
• $ cp /opt/aaa/examples/config/client-reply-ingress.grp.dynauth
/etc/opt/aaa/client-reply-ingress.grp
NOTE: If some policies have already been configured in the /etc/opt/aaa/
client-request-init.grp and /etc/opt/aaa/client-reply-ingress.grp
files, you must append the policies instead of copying.
7. To use the new SQLActions, modify the policy files as follows:
In /etc/opt/aaa/client-request-init.grp
• Replace the following line:
insert Client-Request-Create-ActionId = "CreateDisconnectReq"
with
insert Client-Request-Create-ActionId = "CreateDisconnectReqServerGroup"
• Replace the following line:
insert Client-Request-Update-ActionId = "UpdateDisconnectReq"
with
insert Client-Request-Update-ActionId = "UpdateDisconnectReqServerGroup"
• Replace the following line:
insert Client-Request-Timeout-ActionId = "TimeoutDisconnectReq"
with
insert Client-Request-Timeout-ActionId = "TimeoutDisconnectReqServerGroup"
• Replace the following line:
insert Client-Request-Create-ActionId = "CreateCOAReq"
with
insert Client-Request-Create-ActionId = "CreateCOAReqServerGroup"
• Replace the following line:
insert Client-Request-Update-ActionId = "UpdateCOAReq"
with
insert Client-Request-Update-ActionId = "UpdateCOAReqServerGroup"
• Replace the following line:
insert Client-Request-Timeout-ActionId = "TimeoutCOAReq"
with
insert Client-Request-Timeout-ActionId = "TimeoutCOAReqServerGroup"
226 Configuring the HP-UX AAA Server for Dynamic Authorization