Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC6 MFC VC10.0
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 | :confused:
 
Any links or code snippets would be very much appreciated.
 
Thanks
Posted 12-Oct-10 6:28am
(unknown member)
Edited 12-Oct-10 6:53am
v2

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

  Print Answers RSS
0 OriginalGriff 459
1 Maciej Los 325
2 Sergey Alexandrovich Kryukov 234
3 DamithSL 233
4 BillWoodruff 200
0 OriginalGriff 7,168
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,461
3 Manas Bhardwaj 4,876
4 Maciej Los 4,450


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 12 Oct 2010
Copyright © CodeProject, 1999-2014
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