The Samba-Bugzilla – Attachment 484 Details for
Bug 1208
winbind in ads-security fails to reconnect (Invalid credentials)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff of libsmb/clikrb5.c
clock_skew.diff (text/plain), 982 bytes, created by
Guenther Deschner
on 2004-05-03 08:13:17 UTC
(
hide
)
Description:
svn diff of libsmb/clikrb5.c
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2004-05-03 08:13:17 UTC
Size:
982 bytes
patch
obsolete
>Index: source/libsmb/clikrb5.c >=================================================================== >--- source/libsmb/clikrb5.c (revision 409) >+++ source/libsmb/clikrb5.c (working copy) >@@ -315,13 +321,11 @@ > goto cleanup_creds; > } > >- /* cope with ticket being in the future due to clock skew */ >- if ((unsigned)credsp->times.starttime > time(NULL)) { >- time_t t = time(NULL); >- int time_offset =(unsigned)credsp->times.starttime-t; >- DEBUG(4,("Advancing clock by %d seconds to cope with clock skew\n", time_offset)); >- krb5_set_real_time(context, t + time_offset + 1, 0); >- } >+ /* we always should adjust to the time of our kdc to avoid expiry-loops */ >+ time_t t = time(NULL); >+ int time_offset =(unsigned)credsp->times.starttime-t; >+ DEBUG(4,("Adjusting clock by %d seconds to cope with clock skew\n", time_offset)); >+ krb5_set_real_time(context, t + time_offset + 1, 0); > > if (!ads_cleanup_expired_creds(context, ccache, credsp)) > creds_ready = True;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1208
:
452
|
457
|
465
|
466
|
467
| 484