Administrator
- Administrator
- 所有产品
JDBC_DRIVER_01 { com.sun.security.auth.module.Krb5LoginModule required useTicketCache=true principal="user@EXAMPLE.COM"; };
[libdefaults] default_realm = <realm_name> [realms] <realm_name> = { kdc = <location where KDC is installed> admin_server = <location where KDC is installed> }
[libdefaults] default_realm = EXAMPLE.COM [realms] EXAMPLE.COM = { kdc = rnd.EXAMPLE.COM admin_server = rnd.EXAMPLE.COM }
setenv JAASCONFIG <Absolute path of the JAAS config file>\<File name>.conf> setenv KRB5_CONFIG <Absolute path of the Kerberos configuration file>\krb5.conf> setenv KRB5CCNAME <Absolute path and file name of the credentials cache file>
kinit user@<realm_name>
kinit user@<realm_name>
okinit user@<realm_name>