[31829] in Kerberos

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

Re: unable to get default realm for solaris 10

daemon@ATHENA.MIT.EDU (Andrea Cirulli)
Thu Dec 31 12:36:07 2009

Mime-Version: 1.0 (Apple Message framework v1077)
From: Andrea Cirulli <acirulli@gmail.com>
In-Reply-To: <38352F6E-7AC4-4BB8-8A53-A9F4B9853747@gmail.com>
Date: Thu, 31 Dec 2009 18:35:13 +0100
Message-Id: <88DEA6C2-0D19-4BC4-9BF6-8ED635E4027B@gmail.com>
To: Meraj.Mohammad@atosorigin.com
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

Don't know why but did not receive any attachment and your email, I just saw it in the kerberos digest.

Can you do ls -lart /etc/krb* and
ls -lart /etc/krb5/*
And then try to resend me the output log of the truss command.

Regards,

Il giorno 30/dic/2009, alle ore 19.30, Andrea Cirulli ha scritto:

> Hi,
> 
> in what path is your krb5.conf, to be sure that all solaris and mit tools are reading the same configuration file do this:
> 
> ln -s /etc/krb5.conf /etc/krb5/krb5.conf
> 
> If even this link does not fix your problem, do this:
> 
> truss /usr/local/sbin/kadmin.local > /tmp/kadmin.local.log 2>&1
> 
> and then in the output seek where the kadmin.local is looking for the configuration file you will find some errors like ENOENT
> 
> Let me know.
> 
> Bye,
> Andrea
> 
> Il giorno 30/dic/2009, alle ore 18.02, kerberos-request@mit.edu ha scritto:
> 
>> Message: 6
>> Date: Wed, 30 Dec 2009 20:09:36 +0530
>> From: "Mohammad, Meraj" <Meraj.Mohammad@atosorigin.com>
>> Subject: unable to get default realm for solaris 10
>> To: <kerberos@mit.edu>
>> Message-ID:
>> 	<E1655CE653CA75409D37304B98E1A9C701291C96@invkx001.in.atosorigin.com>
>> Content-Type: text/plain;	charset="us-ascii"
>> 
>> i'm trying to setup Kerberos(krb5-1.7)with Solaris 10. While
>> installation I am getting following error. While running  kadmin.local
>> 
>> /usr/local/sbin/kadmin.local
>> kadmin.local: unable to get default realm
>> 
>> Following is the my configuration file
>> 
>> 
>> Krb5.cof
>> 
>> [libdefaults]
>> 
>>        default_realm = EUR.SLB.COM
>> 
>> 
>> 
>> [realms]
>> 
>>        EUR.SLB.COM = {
>> 
>>                kdc = nl0107dom11.eur.slb.com
>> 
>>                admin_server = nl0107dom11.eur.slb.com
>> 
>>        }
>> 
>>        NAM.SLB.COM = {
>> 
>>                kdc = nl0107dom12.nam.slb.com
>> 
>>                admin_server = nl0107dom12.nam.slb.com
>> 
>>        }
>> 
>>        LAM.SLB.COM = {
>> 
>>                kdc = nl0107dom13.lam.slb.com
>> 
>>                admin_server = nl0107dom13.lam.slb.com
>> 
>>        }
>> 
>>        AFR.SLB.COM = {
>> 
>>                kdc = nl0107dom14.afr.slb.com
>> 
>>                admin_server = nl0107dom14.afr.slb.com
>> 
>>        }
>> 
>>        MEA.SLB.COM = {
>> 
>>                kdc = nl0107dom15.mea.slb.com
>> 
>>                admin_server = nl0107dom15.mea.slb.com
>> 
>>        }
>> 
>>        FEA.SLB.COM = {
>> 
>>                kdc = nl0107dom16.fea.slb.com
>> 
>>                admin_server = nl0107dom16.fea.slb.com
>> 
>>        }
>> 
>>        INT.SLB.COM = {
>> 
>>                kdc = nl0107dom17.int.slb.com
>> 
>>                admin_server = nl0107dom17.int.slb.com
>> 
>>        }
>> 
>>        SLB.COM = {
>> 
>>                kdc = nl0107dom18.slb.com
>> 
>>                admin_server = nl0107dom18.slb.com
>> 
>>        }
>> 
>> [domain_realm]
>> 
>> 
>> 
>> Kdc.cof
>> 
>> [kdcdefaults]
>> 
>>   kdc_ports = 88
>> 
>> 
>> 
>> [realms]
>> 
>>   EUR.SLB.COM = {
>> 
>>      kadmind_port = 749
>> 
>>      max_life = 10h 0m 0s
>> 
>>      max_renewable_life = 7d 0h 0m 0s
>> 
>>      default_principal_flags = +preauth,+forwardable,-postdateable
>> 
>>      master_key_type = des-cbc-crc
>> 
>>      supported_enctypes = des-cbc-crc:normal
>> 
>>      acl_file = /etc/krb5/kadm5.acl 
>> 
>> }
>> 
>> [logging]
>> 
>>         kdc = FILE:/var/log/krb5kdc.log
>> 
>>         admin_server = FILE:/var/log/kadmin.log
>> 
>>         default = FILE:/var/log/krb5lib.log
>> 
>> 
>> 
>> kadm5.acl
>> 
>> */admin@EUR.SLB.COM  *
>> 
>> DKumar7@EUR.SLB.COM  ADMCIL
>> 
>> */*@EUR.SLB.COM ADMCIL
>> 
>> 
>> 
>> 
> 

________________________________________________
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