[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
debugging kauth/kinit
Hi,
kauth(1) from krb4 used to accept -d option to print helpfull debugging
output. It seems that code has been ripped out of kauth distributed with
heimdal. Could someone add similar code to kauth and kinit? Thanks.
bash-2.05b$ /usr/athena/bin/kauth mmokrejs -d
mmokrejs@NATUR.CUNI.CZ's Password:
lrealm is NATUR.CUNI.CZ
Getting host entry for tao.natur.cuni.cz...Got it.
connecting to tao.natur.cuni.cz (195.113.56.1) udp, port 750
sending 52 bytes to tao.natur.cuni.cz (195.113.56.1), udp port 750
select failed: errno = 0
Timeout, error, or wrong descriptor
Getting host entry for fis.natur.cuni.cz...Got it.
connecting to fis.natur.cuni.cz (195.113.46.111) udp, port 750
sending 52 bytes to fis.natur.cuni.cz (195.113.46.111), udp port 750
select failed: errno = 0
Timeout, error, or wrong descriptor
Getting host entry for pteryx.natur.cuni.cz...Got it.
connecting to pteryx.natur.cuni.cz (195.113.56.251) udp, port 750
sending 52 bytes to pteryx.natur.cuni.cz (195.113.56.251), udp port 750
select failed: errno = 0
Timeout, error, or wrong descriptor
connecting to tao.natur.cuni.cz (195.113.56.1) udp, port 750
sending 52 bytes to tao.natur.cuni.cz (195.113.56.1), udp port 750
select failed: errno = 0
connecting to fis.natur.cuni.cz (195.113.46.111) udp, port 750
sending 52 bytes to fis.natur.cuni.cz (195.113.46.111), udp port 750
select failed: errno = 0
connecting to pteryx.natur.cuni.cz (195.113.56.251) udp, port 750
sending 52 bytes to pteryx.natur.cuni.cz (195.113.56.251), udp port 750
select failed: errno = 0
connecting to tao.natur.cuni.cz (195.113.56.1) udp, port 750
sending 52 bytes to tao.natur.cuni.cz (195.113.56.1), udp port 750
select failed: errno = 0
connecting to fis.natur.cuni.cz (195.113.46.111) udp, port 750
sending 52 bytes to fis.natur.cuni.cz (195.113.46.111), udp port 750
bash-2.05b$ /usr/heimdal/bin/kauth mmokrejs -d
mmokrejs@NATUR.CUNI.CZ's Password:
kauth: NOTICE: ticket renewable lifetime is 4 weeks 1 day 23 hours 58 minut
bash-2.05b$ /usr/heimdal/bin/kauth --help
Usage: kauth [-49fpRkvA] [--524init] [--524convert] [--afslog] [--cache=cachename] [-c cachename]
[--forwardable] [--keytab=keytabname] [-t keytabname] [--lifetime=time] [-l time] [--proxiable]
[--renew] [--renewable] [--renewable-life=time] [-r time] [--server=principal] [-S principal]
[--start-time=time] [-s time] [--use-keytab] [--validate] [--enctypes=enctypes]...
[-e enctypes]... [--fcache-version=integer] [--no-addresses] [--extra-addresses=addresses]...
[-a addresses]... [--anonymous] [--request-pac] [--version] [--help] [principal [command]]
-4, --524init obtain version 4 TGT
-9, --524convert only convert ticket to version 4
--afslog obtain afs tokens
-c cachename, --cache=cachename credentials cache
-f, --forwardable get forwardable tickets
-t keytabname, --keytab=keytabname keytab to use
-l time, --lifetime=time lifetime of tickets
-p, --proxiable get proxiable tickets
-R, --renew renew TGT
--renewable get renewable tickets
-r time, --renewable-life=time renewable lifetime of tickets
-S principal, --server=principal server to get ticket for
-s time, --start-time=time when ticket gets valid
-k, --use-keytab get key from keytab
-v, --validate validate TGT
-e enctypes, --enctypes=enctypes encryption types to use
--fcache-version=integer file cache version to create
-A, --no-addresses request a ticket with no addresses
-a addresses, --extra-addresses=addresses include these extra addresses
--anonymous request an anonymous ticket
--request-pac request a Windows PAC
bash-2.05b$
--
Martin Mokrejs <mmokrejs@natur.cuni.cz>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs