DB2 Version 9.7 for Linux, UNIX, and Windows

TargetPrincipal CLI/ODBC configuration keyword

Specifies the fully qualified Kerberos principal name of the DB2® instance owner for a target server.

db2cli.ini keyword syntax:
TargetPrincipal = name/instance@REALM
Default setting:
None
Usage notes:

For Windows 2000, Windows XP, and Windows Server 2003, the fully qualified Kerberos principal name is the DB2 server service logon account in one of the following forms: userid@DOMAIN, userid@xxx.xxx.xxx.com, or domain\userid. For example, if the DB2 server service account is LocalSystem then the TargetPrincipal is HOST/host_name@DOMAIN, where host_name is the fully qualified host name and DOMAIN is the fully qualified domain name in uppercase. Otherwise, the TargetPrincipal is userid@DOMAIN, where userid is the user ID for the DB2 server service account and DOMAIN is the fully qualified domain name in uppercase.

You can add this keyword to the db2cli.ini file or the db2dsdriver.cfg file. This keyword can set a data source in the [DATA SOURCE] or [COMMON] section of the db2cli.ini file.