Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If ad_site is set, no other AD servers will be tried #5958

Open
opoplawski opened this issue Jan 18, 2022 · 4 comments
Open

If ad_site is set, no other AD servers will be tried #5958

opoplawski opened this issue Jan 18, 2022 · 4 comments
Assignees

Comments

@opoplawski
Copy link

We are setting ad_site:

[domain/nwra.com/ad.nwra.com]
ad_site = {{ ad_site }}

But if the discovered AD servers for that site are down, sssd will not try to contact any other site's AD servers.

sssd-2.5.2-2.el8_5.3

@opoplawski
Copy link
Author

And unfortunately with the presence of /usr/lib64/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so this can break kinit as well if the ad server that it finds is down.

@opoplawski
Copy link
Author

Perhaps a bit of a cleanup issue. I removed ad_site, but /var/lib/sss/pubconf/kdcinfo.AD.NWRA.COM was still present and contained the local site AD server. After removing that file it worked.

@opoplawski
Copy link
Author

Related - it appears that with the IPA provider, sssd will not perform AD site discover to locate the closest AD servers as it does with the AD provider. If that is really the case, why not?

@sumit-bose
Copy link
Contributor

Related - it appears that with the IPA provider, sssd will not perform AD site discover to locate the closest AD servers as it does with the AD provider. If that is really the case, why not?

Hi,

afaik site discovery does not work across forest boundaries. To my knowledge AD DCs determine the site based on IP addresses given out by the DCs via DHCP, so only the DC of the domain you are joined to can return the site reliable. There is the concept of NextClosestSiteName (see MS-ADTS 6.3.3.2 https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/3d71aefb-787e-4d14-9a8a-a70def9e1f6c) but I'm not sure if this would give more reliable results. Based on this we decided that if might be better to set the site explicitly in sssd.conf.

Please let me know if you are aware of additional documentation which covers sites across forest boundaries.

HTH

bye,
Sumit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants