[22842] in Kerberos

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

Is there an alternative to krb5.conf file????

daemon@ATHENA.MIT.EDU (Ahluwalia, Ish)
Tue Nov 16 08:39:29 2004

content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Date: Mon, 15 Nov 2004 17:45:17 -0500
Message-ID: <A3863F3136CBC546A40A61BA9CBA9D93ABD67F@sonusmail03.sonusnet.com>
From: "Ahluwalia, Ish" <iahluwalia@sonusnet.com>
To: <kerberos@mit.edu>
Content-Transfer-Encoding: 8bit
Errors-To: kerberos-bounces@mit.edu

Hi All:

Is there an alternative to krb5.conf file to initialize and setup kerberos realm?  I tried to use "krb5_set_default_realm" API call, but it didn't work.  This api call asks for a char* to realm name which I provided for e.g. "REALM.COM".  But some how when I use the API calls "krb5_sname_to_principal" and "krb5_unparse_name", kerberos prints a service name "service/nj.domain.com@domain.com".  I service name should have been "service/nj.domain.com@REALM.COM".  
Any insight into this will be highly appreciated.  Essentially, I want to get away from setting up any kind kerberos configuration file for realm setup and want to do it through Kerberos API in an automated way.

Thanks.

Ish...

________________________________________________
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