The chauthservice command can be used to configure the remote authentication service of the cluster.
>>- svctask -- -- chauthservice -- --+---------------------+----> '- -enable --+- yes-+-' '- no--' >-- --+---------------+-- --+--------------------------+-- -----> '- -url -- url -' '- -username -- user_name -' >--+-----------------------------+-- ---------------------------> '- -password --+------------+-' '- password -' >--+-------------------------+-- --+------------+-------------->< '- -sslcert -- file_name -' '- -refresh -'
This command sets the attributes of the remote authentication service on the cluster. It is not necessary to disable the remote authentication service to change its attributes. To disable the remote authentication service in a controlled manner when it is not available, use the enable parameter with the no option.
When the authentication service is enabled or the configuration is changed, the cluster does not test whether the remote authentication system is operating correctly. To establish whether the system is operating correctly, issue the command svcinfo lscurrentuser for a remotely authenticated user. If the output lists the user's roles obtained from the remote authentication server, remote authentication is operating successfully. If the output is an error message, remote authentication is not working correctly, and the error message describes the problem.
The network address must be an IPv4 or IPv6 address. Do not use the corresponding host name.
http://9.71.45.108:16310/TokenService/services/Trust https://9.71.45.108:16311/TokenService/services/Trust
An invocation example
To fully configure and enable the authentication service:
svctask chauthservice -url https://9.71.45.108:16311/TokenService/services/Trust -sslcert /tmp/sslCACert.pem -username admin -password password -enable yes
The resulting output
No feedback
An invocation example
To disable remote authentication:
svctask chauthservice -enable no
The resulting output
No feedback
An invocation example
To switch to an HTTPS connection to the authentication service:
svctask chauthservice -url https://9.71.45.108:16311/TokenService/services/Trust -sslcert /tmp/ssl_cert.pem
The resulting output
No feedback
An invocation example
To refresh the SAN Volume Controller remote authorization cache:
svctask chauthservice -refresh
The resulting output
No feedback