[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'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 "Kerberos 4 enabled but no realm configured" in the log file.<br>
<br>From a little searching, I found this in the source:<br><pre>if(config->v4_realm == NULL && (config->enable_kaserver || config->enable_v4))<br>	krb5_errx(context, 1, "Kerberos 4 enabled but no realm configured");</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>
        host = {<br>                rcmd = host<br>        }<br>}<br><br>[realms]<br>    <a href="http://PHOENIXMI.COM">PHOENIXMI.COM</a> = {<br>        kdc = <a href="http://sso.phoenixmi.com">sso.phoenixmi.com</a><br>        admin_server = <a href="http://sso.phoenixmi.com">sso.phoenixmi.com</a><br>
        default_domain = <a href="http://phoenixmi.com">phoenixmi.com</a><br>        v4_domains = <a href="http://phoenixmi.com">phoenixmi.com</a><br>        v4_realm = <a href="http://phoenixmi.com">phoenixmi.com</a><br>
    }<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>        realm = <a href="http://PHOENIXMI.COM">PHOENIXMI.COM</a><br>        dbname = ldap:ou=users,dc=phoenixmi,dc=com<br>
        hdb-ldap-structural-object = inetOrgPerson<br>        mkey_file = /var/heimdal/m-key<br>    }<br><br>[kadmin]<br>default_keys = v4 v5<br>
------=_Part_24253_2360060.1207938333132--