[30321] in Kerberos

home help back first fref pref prev next nref lref last post

krb5_get_in_tkt_with_password with KRB5_REALM_CANT_RESOLVE error

daemon@ATHENA.MIT.EDU (Steve)
Thu Sep 25 13:30:59 2008

From: Steve <stephenpince@gmail.com>
Date: Wed, 24 Sep 2008 22:46:22 -0700 (PDT)
Message-ID: <b22ed12a-afe6-45b9-a7b2-d484f0ed18a8@y38g2000hsy.googlegroups.com>
Mime-Version: 1.0
X-Complaints-To: groups-abuse@google.com
Complaints-To: groups-abuse@google.com
To: kerberos@mit.edu
Cc: since@opendemand.com
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

I am getting a error with the krb5_get_in_tkt_with_password.  I am
trying to programmatically get a ticket from KDC server. I am using
kfw 3.3.3 Mit kerberos toolkit.

The userid is matt@FOOBAR.LOCAL.

The host FOOBAR.LOCAL just has an entry in my C:\WINDOWS
\SYSTEM32\DRIVERS\ETC\HOSTS.

69.127.38.76      apache.foobar.local apache
69.127.38.76      kdc.foobar.local kdc
---------------------------------------------------------------

i have tried the following userids.

matt@FOOBAR.LOCAL
matt@kdc.foobar.local
matt@apache.foobar.local
matt@69.127.38.76

The code is
------------------------------------------------------------------------------
    err = krb5_get_in_tkt_with_password(
	       krb5->context,
	       kdcFlags, NULL, NULL, NULL, password, krb5->ccache, &krb5-
>credentials, 0);

Is it failing because the kerberos package can't use a host file but
an actual dns entry? Any help would be greatly appreciated.

Steve
stephenpince@gmail.com
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post