@@ -209,8 +209,8 @@ def as_ccache(data)
209
209
==============
210
210
id host principal sname enctype issued status path
211
211
-- ---- --------- ----- ------- ------ ------ ----
212
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } active #{ valid_ccache_path }
213
- [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . to_time } >>expired<< #{ expired_ccache_path }
212
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } active #{ valid_ccache_path }
213
+ [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . localtime } >>expired<< #{ expired_ccache_path }
214
214
TABLE
215
215
end
216
216
end
@@ -223,7 +223,7 @@ def as_ccache(data)
223
223
==============
224
224
id host principal sname enctype issued status path
225
225
-- ---- --------- ----- ------- ------ ------ ----
226
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } active #{ valid_ccache_path }
226
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } active #{ valid_ccache_path }
227
227
TABLE
228
228
end
229
229
end
@@ -270,10 +270,10 @@ def as_ccache(data)
270
270
Addresses: 0
271
271
Authdatas: 0
272
272
Times:
273
- Auth time: #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time }
274
- Start time: #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time }
275
- End time: #{ Time . parse ( '2032-11-25 15:51:29 +0000' ) . to_time }
276
- Renew Till: #{ Time . parse ( '2032-11-25 15:51:29 +0000' ) . to_time }
273
+ Auth time: #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime }
274
+ Start time: #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime }
275
+ End time: #{ Time . parse ( '2032-11-25 15:51:29 +0000' ) . localtime }
276
+ Renew Till: #{ Time . parse ( '2032-11-25 15:51:29 +0000' ) . localtime }
277
277
Ticket:
278
278
Ticket Version Number: 5
279
279
Realm: WINDOMAIN.LOCAL
@@ -298,8 +298,8 @@ def as_ccache(data)
298
298
==============
299
299
id host principal sname enctype issued status path
300
300
-- ---- --------- ----- ------- ------ ------ ----
301
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } active #{ old_valid_ccache_path }
302
- [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . to_time } >>expired<< #{ old_expired_ccache_path }
301
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } active #{ old_valid_ccache_path }
302
+ [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . localtime } >>expired<< #{ old_expired_ccache_path }
303
303
Deleted 2 entries
304
304
TABLE
305
305
expect ( kerberos_ticket_storage . tickets . length ) . to eq ( 0 )
@@ -314,7 +314,7 @@ def as_ccache(data)
314
314
==============
315
315
id host principal sname enctype issued status path
316
316
-- ---- --------- ----- ------- ------ ------ ----
317
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } active #{ valid_ccache_path }
317
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } active #{ valid_ccache_path }
318
318
TABLE
319
319
end
320
320
end
@@ -327,8 +327,8 @@ def as_ccache(data)
327
327
==============
328
328
id host principal sname enctype issued status path
329
329
-- ---- --------- ----- ------- ------ ------ ----
330
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } active #{ valid_ccache_path }
331
- [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . to_time } >>expired<< #{ expired_ccache_path }
330
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } active #{ valid_ccache_path }
331
+ [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . localtime } >>expired<< #{ expired_ccache_path }
332
332
TABLE
333
333
end
334
334
end
@@ -341,8 +341,8 @@ def as_ccache(data)
341
341
==============
342
342
id host principal sname enctype issued status path
343
343
-- ---- --------- ----- ------- ------ ------ ----
344
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } active #{ valid_ccache_path }
345
- [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . to_time } >>expired<< #{ expired_ccache_path }
344
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } active #{ valid_ccache_path }
345
+ [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . localtime } >>expired<< #{ expired_ccache_path }
346
346
TABLE
347
347
end
348
348
end
@@ -355,8 +355,8 @@ def as_ccache(data)
355
355
==============
356
356
id host principal sname enctype issued status path
357
357
-- ---- --------- ----- ------- ------ ------ ----
358
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } active #{ valid_ccache_path }
359
- [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . to_time } >>expired<< #{ expired_ccache_path }
358
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } active #{ valid_ccache_path }
359
+ [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . localtime } >>expired<< #{ expired_ccache_path }
360
360
TABLE
361
361
end
362
362
end
@@ -369,8 +369,8 @@ def as_ccache(data)
369
369
==============
370
370
id host principal sname enctype issued status path
371
371
-- ---- --------- ----- ------- ------ ------ ----
372
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } active #{ valid_ccache_path }
373
- [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . to_time } >>expired<< #{ expired_ccache_path }
372
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } active #{ valid_ccache_path }
373
+ [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . localtime } >>expired<< #{ expired_ccache_path }
374
374
TABLE
375
375
end
376
376
end
@@ -420,8 +420,8 @@ def as_ccache(data)
420
420
==============
421
421
id host principal sname enctype issued status path
422
422
-- ---- --------- ----- ------- ------ ------ ----
423
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } inactive #{ valid_ccache_path }
424
- [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . to_time } >>expired<< #{ expired_ccache_path }
423
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } inactive #{ valid_ccache_path }
424
+ [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . localtime } >>expired<< #{ expired_ccache_path }
425
425
Deactivated 2 entries
426
426
TABLE
427
427
end
@@ -441,8 +441,8 @@ def as_ccache(data)
441
441
==============
442
442
id host principal sname enctype issued status path
443
443
-- ---- --------- ----- ------- ------ ------ ----
444
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } active #{ valid_ccache_path }
445
- [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . to_time } >>expired<< #{ expired_ccache_path }
444
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } active #{ valid_ccache_path }
445
+ [id] 192.0.2.24 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-12-16 12:05:05 +0000' ) . localtime } >>expired<< #{ expired_ccache_path }
446
446
Activated 2 entries
447
447
TABLE
448
448
end
@@ -459,7 +459,7 @@ def as_ccache(data)
459
459
==============
460
460
id host principal sname enctype issued status path
461
461
-- ---- --------- ----- ------- ------ ------ ----
462
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } active #{ old_valid_ccache_path }
462
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } active #{ old_valid_ccache_path }
463
463
Deleted 1 entry
464
464
TABLE
465
465
expect ( kerberos_ticket_storage . tickets . length ) . to eq ( 1 )
@@ -474,7 +474,7 @@ def as_ccache(data)
474
474
==============
475
475
id host principal sname enctype issued status path
476
476
-- ---- --------- ----- ------- ------ ------ ----
477
- [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . to_time } inactive #{ valid_ccache_path }
477
+ [id] 192.0.2.2 [email protected] krbtgt/[email protected] AES256 #{ Time . parse ( '2022-11-28 15:51:29 +0000' ) . localtime } inactive #{ valid_ccache_path }
478
478
Deactivated 1 entry
479
479
TABLE
480
480
end
0 commit comments