This document provides steps to setup Single Sign-on access to Teradata (using Kerberos) when the Strategy Intelligence Server resides on a Windows operating system.
Note: The steps explained below apply to a Teradata database server installed on a Linux operating system.
ktpass -princ TERADATA/ts-teradata140.Strategy.com@Strategy.COM -mapuser adtera1 -pass <password> -ptype KRB5_NT_PRINCIPAL -out C:\mytst140.keytab
ktutil: rkt /opt/teradata/tdat/tdgss/site/mytst140.keytab ktutil: list ktutil: wkt /etc/krb5.keytab
cp /etc/krb5.keytab /etc/teradata.keytab
chown teradata:tdtrusted /etc/teradata.keytab
create user adtera1 as perm=1000, password=adtera1; GRANT LOGON ON ALL TO adtera1 WITH NULL PASSWORD;
# gtwcontrol -d gtwcontrol: gtwversion 13.00.00.21 gdo version: 5, created on Tue Nov 2 12:28:51 2010systemname: adea3 number of host groups: 1, number of gateway vprocs 1 max logfile size: 5000000 event trace cnt: 500 gtwglobal logon name: DBC Send DBS error to client: no TDGSS Library Version..........: 13.0.0.21 hgid: 1 assign vprocid: 8192 assigntrace: no logons enabled: yes session timeout in minutes: 20 connection timeout in seconds: 60 keepalive timeout in minutes: 10 max sessions per node: 600 malloctrace: no iothread check frequency in minutes: 10 max io threads per type (msg/net): 50 initial io threads per type (msg/net): 5 External Authentication: on Append Domain Name: no Allow Deprecated Logons: no Connection trace: no vproc id: 8192 status: Online TDExpress14.0_Sles10:/opt/teradata/tdat/tdbms/14.00.01.02/bin # dbscontrol Release 14.00.01.02 Version 14.00.01.02 DBSControl Utility (Dec 99) The current DBS Control GDO has been read. Enter a command, HELP, or QUIT: DISPLAY GENERAL DBS Control Record - General Fields: 26. ExternalAuthentication = 0 (On)
useradd -m adtera1
$ kinit Password for adtera1@LABS.Strategy.COM:
$ klist -c Ticket cache: FILE:/tmp/krb5cc_10000 Default principal: adtera1@LABS.Strategy.COM Valid starting Expires Service principal 10/03/13 14:18:47 10/04/13 00:18:56 krbtgt/LABS.Strategy.COM@LABS.Strategy.COM renew until 10/04/13 14:18:47 Kerberos 4 ticket cache: /tmp/tkt10000 klist: You have no tickets cached
$ kvno TERADATA/ts-teradata140.labs.Strategy.com@LABS.Strategy.COM TERADATA/ts-teradata140.labs.Strategy.com@LABS.Strategy.COM: kvno = 4
$ bteq Teradata BTEQ 14.00.00.02 for LINUX. Copyright 1984-2011, Teradata Corporation. ALL RIGHTS RESERVED. Enter your logon or BTEQ command: .logon tst140/,, UserId:<just hit return> Password: <just hit return> Logon successful.
<PROPERTY NAME="SupportsKerberos" VALUE="1"/>



After the setup is complete, login to the client machine using the Kerberos user defined in Active Directory (adtera1). The user should be able to login to the Strategy Intelligence Server without being prompted for credentials and the same credentials should be passed on to the Teradata database server for report execution as well.