You can use SSO with the Aster Loader Tool. For information on using the --enable-sso flag with the ncluster_loader command, see the argument flags topic in Aster Loader Tool.
To use SSO with Aster Loader Tool:
- Log in to the client machine using your key distribution center (KDC) domain username and password. The user needs to use the--enable-sso parameter to connect to Aster Database for authentication using SSO. When the --enable-sso parameter is not specified, the user needs to specify the username and password in order to connect to Aster Database (this is the default mode of authenticating while using the tool).
-
Run this command:
ncluster_loader --enable-sso
-
Set up the libraries:
- For 64-bit Linux machines: The ODBC driver assumes that libvas-gssapi.so is present at /opt/quest/lib64/. If /opt/quest/lib64/libvas-gssapi.so does not exist, locate libvas-gssapi.so by referring to the VAS documentation and set the GSSPath parameter to point to the installed location of libvas-gssapi.so. For example, if libvas-gssapi.so is deployed at /usr/lib64, then the GSSPath parameter needs to be set to /usr/lib64 in the ODBC.ini config file as shown below: GSSPath=/usr/lib64
- For 32-bit Linux machines: The ODBC driver assumes that libvas-gssapi.so is present at /opt/quest/lib/. If /opt/quest/lib/libvas-gssapi.so does not exist, locate libvas-gssapi.so by referring to the VAS documentation and set the GSSPath parameter to point to the installed location of libvas-gssapi.so. For example, if libvas-gssapi.so is deployed at /usr/lib, then the GSSPath parameter needs to be set to /usr/lib in the ODBC.ini config file as shown below: GSSPath=/usr/lib
This is an example of loading data using SSO with Aster Loader Tool:
ncluster_loader --enable-sso -h testing-qas-s1-coordinator public.testtable ./testdata
The following is an example of gss path usage:
./ncluster_loader --enable-sso -h qas-s1-coordinator public.tab2 ./ testexpo --gss-lib-path /usr/lib