kinit: KDC has no support for encryption type while getting initial credentials

I got this  error when I tried ‘kinit‘ in my system..

kinit: KDC has no support for encryption type while getting initial credentials

I worked around this error by below way..

The [libdefaults] section of my /etc/krb5.conf was,

[libdefaults]

 default_realm = DOMAIN.COM

 dns_lookup_realm = false

 dns_lookup_kdc = false

 ticket_lifetime = 24h

 forwardable = yes

 allow_weak_crypto = no

After changing "allow_weak_crypto = yes" from "allow_weak_crypto = no" , I am not facing this issue..