I have a couple basic questions about using OpenLDAP with SSSD in a C/C++ program. Since I think SSSD uses OpenLDAP to do this already within it's service, I thought y'all would be the ones to task. Pardon my ignorance. If you know the answer in Python/native interop, that'll work to, I can translate.
1. On a domain joined machine that has any other needed configuration, how do I call and configure OpenLDAP so it will use the SSSD machine account to authenticate with the AD server?
2. As above, but how do I specify OpenLDAP to authenticate using SPNEGO?