wine/programs/klist/resources.h
Maxim Karasev c29dc0064e klist: Add a program that lists Kerberos tickets.
It's a clean-room reimplementation that mimics Windows 10 program's output format.
It prints all the information that is available via KerbQueryTicketCacheMessage.

Also tested to work on Windows if dynamically linked + built with winegcc.

For further extension of the functionality, implementing
KerbQueryTicketCacheEx{,2,3}Message is required.
2023-07-21 21:27:44 +02:00

30 lines
1.1 KiB
C

/*
* Copyright 2023 Maxim Karasev <mxkrsv@etersoft.ru>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#define STRING_USAGE 1000
#define STRING_UNKNOWN_ERROR 1001
#define STRING_START_TIME 1002
#define STRING_END_TIME 1003
#define STRING_RENEW_TIME 1004
#define STRING_TICKET_FLAGS 1005
#define STRING_CACHED_TICKETS 1006
#define STRING_SERVER 1007
#define STRING_ENCRYPTION_TYPE 1008
#define STRING_LOGON_ID 1009