by using a prompter function we can avoid the bug in the MIT kerberos