Click here to Skip to main content
13,055,047 members (61,342 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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.

My setup:
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.:confused:

Any links or code snippets would be very much appreciated.

Posted 12-Oct-10 5:28am
Updated 12-Oct-10 5:53am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 12 Oct 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100