In fact I did not have pykerberos installed! I had tried installing awhile 
ago via "pip install kerberos" (no "py") to no avail, and, at some point 
installed libkrb5-dev, thinking it would suffice. Well, TIL!
Incidentally, now that I have that installed and have run the kinit 
command, I am at least getting more meaningful error messages like 
GSSError:...Cannot find KDC for realm "MAIN", which is much better.
I think I can take it from here. Just need to get more info from my company 
about how to configure my machine to talk to its infrastructure. Thanks a 
bunch!

On Thursday, August 13, 2015 at 1:13:06 PM UTC-4, J Hawkesworth wrote:
>
> I think you need to set up your ansible controller as a kerberos client. 
>  Your ansible box needs to know how to talk to your windows domain 
> controllers. Assuming you have pykerberos installed, you probably already 
> have the command line kerberos tools installed. 
>
> I suggest you configure your /etc/krb5.conf so that your domain is listed 
> and your domain controllers are listed too. Once that's done you can 
> probably test ansible connection again or try the command line like this
>
> kinit [email protected] <javascript:>
>
> Note that the domain name needs to be in upper case 
>
> You can use klist to show if you have any kerberos credentials cached. 
> Hope that's enough to get you started 
>
> Jon
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3f330d7a-4dfe-4878-a98f-96f2d82bd877%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to