Project

General

Profile

Bug #39982

Optimize detection of best host in freenasldap.py for large environments

Added by Andrew Walker 12 months ago. Updated 10 months ago.

Status:
Done
Priority:
No priority
Assignee:
Andrew Walker
Category:
Services
Target version:
TrueNAS - TrueNAS-11.1-U6.1
Seen in:
TrueNAS - TrueNAS 11.1-U4
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Two minor optimizations:
1) Once we detect the AD site we're a member of, store that information in the config db.
2) If there are more than 5 DCs in a site, don't bother trying to figure out which DC is the best one to talk to for our LDAP queries in freenasldap.py. Use the first one that responds.

This is part of addressing issue of slow AD join process.

History

#1 Updated by Dru Lavigne 12 months ago

  • Assignee changed from Release Council to Andrew Walker
  • Target version changed from Backlog to 11.2-BETA3

#2 Updated by Andrew Walker 12 months ago

#3 Updated by Andrew Walker 12 months ago

  • Status changed from Unscreened to In Progress

#4 Updated by Dru Lavigne 11 months ago

  • Status changed from In Progress to Ready for Testing
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#5 Updated by Dru Lavigne 11 months ago

  • Status changed from Ready for Testing to In Progress
  • Target version changed from 11.2-BETA3 to TrueNAS-11.1-U6.1
  • Needs Merging changed from No to Yes

This item will also appear in the Changelogs for FreeNAS 11.1-U7 and FreeNAS 11.2-BETA3.

#6 Updated by Andrew Walker 11 months ago

#7 Updated by Bug Clerk 10 months ago

  • Status changed from In Progress to Ready for Testing
  • Target version changed from TrueNAS-11.1-U6.1 to TrueNAS 11.1-U6.2

#8 Updated by Dru Lavigne 10 months ago

  • Needs Merging changed from Yes to No

#9 Updated by Dru Lavigne 10 months ago

  • Target version changed from TrueNAS 11.1-U6.2 to TrueNAS-11.1-U6.1

#10 Updated by Andrew Walker 10 months ago

Method to test:
1) Configure AD environment with "Sites and Subnets" configured to put the TrueNAS server in a non-default site.
2) Join AD, then verify that the site name is permanently stored in the UI under Directory Services-> Active Directory "Site".

#11 Updated by Bonnie Follweiler 10 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

#13 Updated by Dru Lavigne 10 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF