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

Harald Barth <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.heimdal.general
Message-ID <[email protected]>
> 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.