@@ -209,8 +209,8 @@ def as_ccache(data)
209209 ==============
210210 id host principal sname enctype issued status path
211211 -- ---- --------- ----- ------- ------ ------ ----
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 } 214214 TABLE
215215 end
216216 end
@@ -223,7 +223,7 @@ def as_ccache(data)
223223 ==============
224224 id host principal sname enctype issued status path
225225 -- ---- --------- ----- ------- ------ ------ ----
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 } 227227 TABLE
228228 end
229229 end
@@ -270,10 +270,10 @@ def as_ccache(data)
270270 Addresses: 0
271271 Authdatas: 0
272272 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 }
277277 Ticket:
278278 Ticket Version Number: 5
279279 Realm: WINDOMAIN.LOCAL
@@ -298,8 +298,8 @@ def as_ccache(data)
298298 ==============
299299 id host principal sname enctype issued status path
300300 -- ---- --------- ----- ------- ------ ------ ----
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 } 303303 Deleted 2 entries
304304 TABLE
305305 expect ( kerberos_ticket_storage . tickets . length ) . to eq ( 0 )
@@ -314,7 +314,7 @@ def as_ccache(data)
314314 ==============
315315 id host principal sname enctype issued status path
316316 -- ---- --------- ----- ------- ------ ------ ----
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 } 318318 TABLE
319319 end
320320 end
@@ -327,8 +327,8 @@ def as_ccache(data)
327327 ==============
328328 id host principal sname enctype issued status path
329329 -- ---- --------- ----- ------- ------ ------ ----
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 } 332332 TABLE
333333 end
334334 end
@@ -341,8 +341,8 @@ def as_ccache(data)
341341 ==============
342342 id host principal sname enctype issued status path
343343 -- ---- --------- ----- ------- ------ ------ ----
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 } 346346 TABLE
347347 end
348348 end
@@ -355,8 +355,8 @@ def as_ccache(data)
355355 ==============
356356 id host principal sname enctype issued status path
357357 -- ---- --------- ----- ------- ------ ------ ----
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 } 360360 TABLE
361361 end
362362 end
@@ -369,8 +369,8 @@ def as_ccache(data)
369369 ==============
370370 id host principal sname enctype issued status path
371371 -- ---- --------- ----- ------- ------ ------ ----
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 } 374374 TABLE
375375 end
376376 end
@@ -420,8 +420,8 @@ def as_ccache(data)
420420 ==============
421421 id host principal sname enctype issued status path
422422 -- ---- --------- ----- ------- ------ ------ ----
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 } 425425 Deactivated 2 entries
426426 TABLE
427427 end
@@ -441,8 +441,8 @@ def as_ccache(data)
441441 ==============
442442 id host principal sname enctype issued status path
443443 -- ---- --------- ----- ------- ------ ------ ----
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 } 446446 Activated 2 entries
447447 TABLE
448448 end
@@ -459,7 +459,7 @@ def as_ccache(data)
459459 ==============
460460 id host principal sname enctype issued status path
461461 -- ---- --------- ----- ------- ------ ------ ----
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 } 463463 Deleted 1 entry
464464 TABLE
465465 expect ( kerberos_ticket_storage . tickets . length ) . to eq ( 1 )
@@ -474,7 +474,7 @@ def as_ccache(data)
474474 ==============
475475 id host principal sname enctype issued status path
476476 -- ---- --------- ----- ------- ------ ------ ----
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 } 478478 Deactivated 1 entry
479479 TABLE
480480 end
0 commit comments