1.从客户端下载ODBC驱动inceptor-connector-odbc-5.2.0-winx64.exe,按照默认安装完成.
2.配置krb5.ini
从集群/etc/服务名/conf/krb5.conf下载放到本地更改为krb5.ini
默认安装路径C:\ProgramData\MIT\Kerberos5\krb5.ini
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = TDH
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
allow_weak_crypto = true
default_tkt_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
default_tgs_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
permitted_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
udp_preference_limit = 1000000
[realms]
TDH = {
kdc = test15:1088
kdc = test16:1088
}
2.本地配置hosts
系统路径C:\Windows\System32\drivers\etc\hosts
#服务 server 节点
172.19.xx.11 test11
#/etc/服务名/conf/krb5.conf 配置文件kdc的内容
172.19.xx.15 test15
172.19.xx.16 test16
2.Kerberos客户端Get Ticket获取
默认安装位置C:\Program Files\Transwarp Inceptor ODBC Driver\Kerberos
注意使用集群授权账户,例如hive/密码
2.本地配置ODBC驱动Kerberos的连接方式