I am using Python to connect to a SQL server database using pypyodbc and Microsoft ODBC provide for SQl server driver. It was looking for Kerberos ticket which I created by using following command:
$kinit sinXXXX4@CORP.XXXXX.NET
But it gets expired everyday, how can I make it not to expire?
[sinXXXX4@uXXXXXXXd102 HealthCheck]$ klist
Ticket cache: FILE:/tmp/krb5cc_134202
Default principal: sinXXXX4@CORP.XXXXX.NET
Valid starting Expires Service principal
03/09/2018 10:09:46 03/09/2018 20:09:46
krbtgt/CORP.XXXXXX.NET@CORP.XXXXXX.NET
renew until 03/10/2018 10:09:40