sssd Cross realm windows authentication fails with the ERROR : "Port status of port 0 for server 'AD.example.com' is 'not working'"

Solution Verified - Updated -

Issue

sssd 6.6 Cross realm windows authentication fails with the ERROR : "Port status of port 0 for server 'AD.example.com' is 'not working'"

Customer has a AD trusted Domain setup (same forest) in their production environment.
For instance will assume they are example redhat.com and trusted.com.
Currently they are able to ssh in a user in redhat.com domain.
But they are not able to ssh in as a user in trusted.com but id command returns uid/gid from trusted.com

failed ssh login attempts generates following sssd debug logs :

[get_server_status] (0x1000): Status of server 'ad.example.com' is 'name resolved'
[get_port_status] (0x1000): Port status of port 0 for server 'ad.example.com' is 'not working'

Environment

  • Red Hat Enterprise Linux 6.6,7.0
  • sssd-1.11.2-68.el7_0.6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content