To start Adaptive Server under Kerberos, add the Adaptive Server name to the KDC and extract the service key to a key table file. For example:
/krb5/bin/admin admin/ASE -k -t /krb5/v5srvtab -R” addrn my_ase; mod my_ase attr nopwchg; ext -n my_ase eytabfile.krb5” Connecting as: admin/ASE Connected to csfA5v01 in realm ASE. Principal added. Principal modified. Key extracted. Disconnected.
The administrator can also be authenticated using a password on the command line. In this example, the -k option is used, which tells the administrator to search the /krb5/v5srvtab file (specified using the -t option) for the administrator and the Adaptive Server key, instead of prompting for a password, which is useful for writing shell scripts.
Copyright © 2005. Sybase Inc. All rights reserved. |