[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Subject



if(config->v4_realm == NULL && (config->enable_kaserver || config->enable_v4))
	krb5_errx(context, 1, "Kerberos 4 enabled but no realm configured");


But I have v4_realm configured...below is my configuration, any ideas what I
am doing wrong? Any help would be great, thanks!

/etc/krb5.conf

[libdefaults]
default_realm = PHOENIXMI.COM
default_tgs_enctypes = des-cbc-crc
default_tkt_enctypes = des-cbc-crc
default_etypes = des-cbc-crc
default_etypes_des = des-cbc-crc
clockskew = 300
checksum_type = 1
v4_instance_resolve = false
v4_name_convert = {
        host = {
                rcmd = host
        }
}

[realms]
    PHOENIXMI.COM = {
        kdc = sso.phoenixmi.com
        admin_server = sso.phoenixmi.com
        default_domain = phoenixmi.com
        v4_domains = phoenixmi.com
        v4_realm = phoenixmi.com
    }

[domain_realm]
.phoenixmi.com = PHOENIXMI.COM
phoenixmi.com = PHOENIXMI.COM

[kdc]
enable-524 = true
enable-kerberos4 = true
enable-kaserver = true
database = {
        realm = PHOENIXMI.COM
        dbname = ldap:ou=users,dc=phoenixmi,dc=com
        hdb-ldap-structural-object = inetOrgPerson
        mkey_file = /var/heimdal/m-key
    }

[kadmin]
default_keys = v4 v5

------=_Part_24253_2360060.1207938333132
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I&#39;m trying to get heimdal setup for AFS, to do so...I believe I need to get the kaserver working. Each time I modify my krb5.conf file and then restart the kdc, it closes immediately and gives the message &quot;Kerberos 4 enabled but no realm configured&quot; in the log file.<br>
<br>From a little searching, I found this in the source:<br><pre>if(config-&gt;v4_realm == NULL &amp;&amp; (config-&gt;enable_kaserver || config-&gt;enable_v4))<br>	krb5_errx(context, 1, &quot;Kerberos 4 enabled but no realm configured&quot;);</pre>
<br>But I have v4_realm configured...below is my configuration, any ideas what I am doing wrong? Any help would be great, thanks!<br><br>/etc/krb5.conf<br><br>[libdefaults]<br>default_realm = <a href="http://PHOENIXMI.COM">PHOENIXMI.COM</a><br>
default_tgs_enctypes = des-cbc-crc<br>default_tkt_enctypes = des-cbc-crc<br>default_etypes = des-cbc-crc<br>default_etypes_des = des-cbc-crc<br>clockskew = 300<br>checksum_type = 1<br>v4_instance_resolve = false<br>v4_name_convert = {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host = {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rcmd = host<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>}<br><br>[realms]<br>&nbsp;&nbsp;&nbsp; <a href="http://PHOENIXMI.COM">PHOENIXMI.COM</a> = {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kdc = <a href="http://sso.phoenixmi.com">sso.phoenixmi.com</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; admin_server = <a href="http://sso.phoenixmi.com">sso.phoenixmi.com</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default_domain = <a href="http://phoenixmi.com">phoenixmi.com</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; v4_domains = <a href="http://phoenixmi.com">phoenixmi.com</a><br>&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; v4_realm = <a href="http://phoenixmi.com">phoenixmi.com</a><br>
&nbsp;&nbsp;&nbsp; }<br><br>[domain_realm]<br>.<a href="http://phoenixmi.com">phoenixmi.com</a> = <a href="http://PHOENIXMI.COM">PHOENIXMI.COM</a><br><a href="http://phoenixmi.com">phoenixmi.com</a> = <a href="http://PHOENIXMI.COM">PHOENIXMI.COM</a><br>
<br>[kdc]<br>enable-524 = true<br>enable-kerberos4 = true<br>enable-kaserver = true<br>database = {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; realm = <a href="http://PHOENIXMI.COM">PHOENIXMI.COM</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbname = ldap:ou=users,dc=phoenixmi,dc=com<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hdb-ldap-structural-object = inetOrgPerson<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mkey_file = /var/heimdal/m-key<br>&nbsp;&nbsp;&nbsp; }<br><br>[kadmin]<br>default_keys = v4 v5<br>

------=_Part_24253_2360060.1207938333132--