I have a written a small test program in VC6 which reads a couple of records from a Microsoft access database (mdb or accdb) using ODBC every minute. The database is on the server
2 PCs running my Test program on Windows 7
1 PC running Windows Server 2008
After 10 hours (default Kerberos lifetime) both programs receive a network read error.
I know how to change the lifetime of the Kerberos ticket on the server, but this is a global change.
I want to programmatically renew (or change?) the lifetime of the security ticket from and for my VC6 test program?
I believe I need to use AcquireCredentialsHandle() and InitializeSecurityContext(), but, after many days of research and trials, I have not found any suitable examples.
Any links or code snippets would be very much appreciated.