Host name is resolvable to an IP. But while resolving IP back for testing 
reverse DNS mapping it is not happening.

In /etc/krb5.conf we have the correct configuration as below.

[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log
[libdefaults]
 default_realm = WEBSITE.COM
 dns_lookup_realm = false
 dns_lookup_kdc = false
 ticket_lifetime = 24h
 renew_lifetime = 7d
 forwardable = true
[realms]
 WEBSITE.COM = {
  kdc = WIN-SA2TXZOTVMV.website.com
  admin_server = WIN-SA2TXZOTVMV.website.com
 }
[domain_realm]
 .website.com = WEBSITE.COM
 website.com = WEBSITE.COM


Also I am getting connected to the domain using *kinit.*

But the servers are not getting recognized. with the error "traceroute 
AMATLTDMSWEB00.RECALL.COM
AMATLTDMSWEB00.RECALL.COM: Name or service not known
Cannot handle "host" cmdline arg `AMATLTDMSWEB00.RECALL.COM' on position 1 
(argc 1)
"

While using servername/ip in the hosts file and tries to getting conencted 
the below mentioned error comes up.


On Friday, July 22, 2016 at 7:50:34 PM UTC+5:30, J Hawkesworth wrote:
>
> Not sure what is wrong but kerberos needs DNS to work fully (both forward 
> and reverse lookups).
>
> Check the hostname can be resolved to an ip from your ansible controller.
>
> Also check you have configured correct domain controllers in your 
> /etc/krb5.conf
>
> Hope this helps,
>
> Jon
>
> On Friday, July 22, 2016 at 1:43:48 PM UTC+1, manoj kumar wrote:
>>
>> Hi,
>>
>> I have ansible version
>> *ansible 2.1.0.0*
>> *  config file = /etc/ansible/ansible.cfg*
>> *  configured module search path = Default w/o overrides*
>>
>> Kerberos is also installled along with request_kerberose and pywinrm0.2.0.
>>
>> I am getting the error while running a ping module as " *"changed": 
>> false,*
>> *    "msg": "kerberos: authGSSClientStep() failed: (('Unspecified GSS 
>> failure.  Minor code may provide more information', 851968), ('Server not 
>> found in Kerberos database', -1765328377))",*
>> *    "unreachable": true*
>> "
>> Host file is like 
>> *[server]*
>> *BCDFPO91.PAL.COM <http://BCDFPO91.PAL.COM>*
>>
>> *[server:vars]*
>> *[email protected]*
>> *ansible_ssh_pass=0987*
>> *ansible_connection=winrm*
>> *ansible_port=5986*
>> *ansible_winrm_transport=kerberos*
>> *ansible_winrm_kerberos_delegation=yes*
>>
>>
>> Can you guys please help out what needs to be done to resolve this.
>>
>> BR
>> Manoj
>>
>

-- 
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/861ad2b9-0802-40d6-9a87-cbc31aa62798%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to