summaryrefslogtreecommitdiffstats
path: root/.git-commit-template
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2015-04-14 21:50:36 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-04-15 17:30:27 +0200
commite2bd4f8a41b72aea0712ad21ad02ccebb707f536 (patch)
tree77f2b5602983a72d85248e7af50efcf459665c5e /.git-commit-template
parentd9079aa05eb8aacb488992fdce328c1abadd08d8 (diff)
downloadsssd-e2bd4f8a41b72aea0712ad21ad02ccebb707f536.tar.gz
sssd-e2bd4f8a41b72aea0712ad21ad02ccebb707f536.tar.xz
sssd-e2bd4f8a41b72aea0712ad21ad02ccebb707f536.zip
AD: Always get domain-specific ID connection
ad_get_dom_ldap_conn() assumed that ad_ctx->ldap_ctx always points at the LDAP connection for the primary domain, however it turns out that this is not always the case. It's currently unclear why, but this connection can sometimes be pointing at a subdomain. Since the value of subdom_id_ctx->ldap_ctx always points to the correct domain (including the primary domain case), there's no benefit to trying to shortcut to the ad_ctx->ldap_ctx when performing this lookup. This patch also makes a minor tweak to the tests so that the primary domain passes the sdap_domain_get() check for validity (since it needs to have a private member assigned). Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to '.git-commit-template')
0 files changed, 0 insertions, 0 deletions