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

xapi-project / xen-api / 20271562960
80%

Build:
DEFAULT BRANCH: master
Ran 16 Dec 2025 02:35PM UTC
Jobs 1
Files 34
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

16 Dec 2025 02:26PM UTC coverage: 80.459%. Remained the same
20271562960

push

github

web-flow
XSI-2088: CA-422080: External auth can not support large forest (#6800)

The customer environment has following two issues
- The forest is very large
- They have very huge user sid

For large forest, the joined domain trust around 50 domains. For each
domain, with `winbind scan trusted domains = yes`
- xapi scan each trusted domain and enumerate all domain DCs routinely
to decide the closed DC for ldap query
- winbind create a subprocess for each trusted domain, and it also
enumerate all DCs to decide the best DC and sync domain information

This takes huge mount of resouce and keep winbind main process too busy
to handle user request.
However, customer usually only used 2-3 domains to manage XS, this means
it is not necessary to scan all the trusted domains.

- `winbind scan trusted domains = no` is set to forbid domain scan. The
side effect is xapi no longer know the trusted domain. Thus, xapi
perform ldap query to the DC of the trusted domain for the necessary
information.
- Closest KDC is maintained to perform ldap query, that is removed as
* `wbinfo --getdcname` is called to get a KD, winbind already perform
some basic check regarding the response time
* The closed KDC ldap is performed during add user, which is NOT a
frequent operation, so performance is not such critical
* The update subject backend task can refresh subject information later

For the huge sid problem, winbind setup a 1-1 map between sid and uid
Huge sid number exceed the configured uid limitation. To fix it
- Exteend the configured limitation
- rid -> autorid as the map backend, autorid is better and deterministic
- Clean winbind cache during xapi start to support update from rid and
we do want to refresh with xapi restart

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 20271562960.1 16 Dec 2025 02:35PM UTC 34
80.46
GitHub Action Run
Source Files on build 20271562960
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20271562960
  • 68bf47d0 on github
  • Prev Build on master (#20263097764)
  • Next Build on master (#20290728785)
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