We are using Samba in our application and after upgrading to samba version 4.21.2 from 4.17.7 we have observed that kinit command is failing. Command : net ads kerberos kinit -d 10 -U "Username" Error : kerberos_kinit_password_ext: Missing ccache for "account" and config [(null)] failed to kinit password: NT code 0x000055da After analysing the code we found out that commit id d49de77 - s3:libads: let kerberos_kinit_password_ext() require an explicit krb5 ccache had introduced the changes to use an explicit ccache but if we see the code in file source3/utils/net_ads.c which is calling kerberos_kinit_password_ext() is still sending NULL which is resulting into this failure. Code: ret = kerberos_kinit_password_ext(principal, password, 0, NULL, NULL, NULL, true, true, 2592000, /* one month */ NULL, NULL, NULL, &status); Please have a look into this issue.