summaryrefslogtreecommitdiff
path: root/src/providers/ad/ad_subdomains.h
AgeCommit message (Collapse)AuthorFilesLines
2013-05-07AD: read flat name and SID of the AD domainSumit Bose1-0/+37
For various features either the flat/short/NetBIOS domain name or the domain SID is needed. Since the responders already try to do a subdomain lookup when and known domain name is encountered I added a subdomain lookup to the AD provider which currently only reads the SID from the base DN and the NetBIOS name from a reply of a LDAP ping. The results are written to the cache to have them available even if SSSD is started in offline mode. Looking up trusted domains can be added later. Since all the needed responder code is already available from the corresponding work for the IPA provider this patch fixes https://fedorahosted.org/sssd/ticket/1468