• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xapi-project / xen-api / 27391890643
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: private/mingl/26.1-lcm/CA-417915
DEFAULT BRANCH: master
Ran 12 Jun 2026 03:08AM UTC
Jobs 1
Files 36
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Jun 2026 03:07AM UTC coverage: 78.996%. Remained the same
27391890643

push

github

web-flow
CA-428436: validate DC LDAPS certificate before joining domain (#7121)

When LDAPS is enabled, pool.enable_external_auth could intermittently
fail with POOL_AUTH_ENABLE_FAILED_SETUP_TLS_CONNECTION: "net ads join"
auto-selects a domain controller via DsGetDcName without considering its
TLS certificate, so if the chosen DC presents a certificate that does
not chain to a trusted CA the LDAPS bind fails (GnuTLS
signer_not_found).

When ldaps is enabled, probe the candidate DCs in on_enable and join via
the first one whose LDAPS certificate validates against the trusted CAs:
enumerate the KDCs (kdcs_of_domain) and run Ldap.query_sid over LDAPS
for each, then pin the join with "net ads join -S <dc>". The probe uses
the supplied join credentials rather than the machine account, which
does not exist yet during the join.

For this, query_sid takes optional ?duser/?dpass arguments: when both
are given it authenticates via the USER/PASSWD environment variables
instead of --machine-pass.

When ldaps is disabled the behaviour is unchanged.

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 27391890643.1 12 Jun 2026 03:08AM UTC 36
79.0
GitHub Action Run
Source Files on build 27391890643
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27391890643
  • fb2e37c9 on github
  • Prev Build on feature/ldaps (#26992279339)
  • Next Build on feature/ldaps (#27399046851)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc