On Mon, Apr 21, 2008 at 02:27:59PM +0200, Bastian Blank wrote: > It seems to wait forever. The larger problem is, why does it try DNS at > all if the KDC are set in the config. No idea - by config you mean /etc/krb5.conf?
Looking at the code it doesn't look that different from what kinit does except for krb5_get_init_creds_opt_set_default_flags which is heimdal only and pykerberos uses the MIT libs. Looking at MIT's kinit I can't spot a real difference at all. What KDC is this? Could you post your krb.conf? Since I can't reproduce this hear it would help to see in which call it sits. I you could grab the pykerberos source code and putting some printfs in verify_krb5_user (or using gdb of course) would help a lot! -- Guido -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]