Re: kinit admin; unable to find rrealm using v 7.1

Ted Creedon <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.heimdal.general
Message-ID <MWHPR14MB1263FC6F8E90B200E51AD754A47C0@MWHPR14MB1263.namprd14.prod.outlook.com>
I exported it in error as a way to compile afs w/ heimdal.

the ticket is closed.

thanks to everyone,

tedc

________________________________________
From: Harald Barth <[email protected]>
Sent: Tuesday, January 17, 2017 2:33:01 PM
To: Ted Creedon; [email protected]
Subject: Re: kinit admin; unable to find rrealm using v 7.1

> open("/usr/heimdal/bin/krb5-config --libs --deps", O_RDONLY) = -1 ENOENT (No such file or directory)

Strange. It tries to open the file "/usr/heimdal/bin/krb5-config --libs --deps". Normally I would
expect that krb5-config --libs --deps is something to be executed...

$ krb5-config --libs --deps
-L/usr/lib/x86_64-linux-gnu/heimdal -lkrb5 -lhx509 -lcom_err -lhcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt -pthread -lpthread -ldl -lresolv -pthread -lpthread
$

I would expect it to open krb5.conf at that place. Have you maybe set the environment
varible KRB5_CONFIG to "/usr/heimdal/bin/krb5-config --libs --deps" ????

Can you put a default realm in your krb5.conf and then set KRB5_CONFIG
to that file and see if that helps?

If you don't have set KRB5_CONFIG that would mean that you have a very
odd compiled in value for your kerberos config file, but I doubt that.

Harald.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.