Pylint no-else-return refactoring: tenth (and so far last) set of files
[check_mk.git] / .werks / 5044
blob78d50dba0ae761d1755faaca704d4587c0ad54d1
1 Title: LDAP: Active Directory connection try to discover the nearest DC now
2 Level: 1
3 Component: wato
4 Compatible: compat
5 Edition: cre
6 Version: 1.5.0i1
7 Date: 1501075431
8 Class: feature
10 The LDAP connection of the Check_MK GUI is now using the configured LDAP
11 server to detect the nearest Domain Controller of the current domain. Speaking
12 to the nearest domain controller will increase the performance of the LDAP sync.
14 The discovery is done like this:
16 <ol>
17 <li>
18 A connection is established with the configured server. Normally this is the
19 DNS name of the AD domain. For this connection a "random DC" is used. In fact
20 the given name is locally resolved using DNS and one answered IP is picked.
21 </li>
22 <li>
23 The authentication with the default credentials is done.
24 </li>
25 <li>
26 The AD site of the local system is detected.
27 This is done by gathering the local IP subnets and searching the AD sites for
28 these subnets.
29 </li>
30 <li>
31 The first DC of the found AD site is used instead of "server".
32 </li>
33 </ol>
35 In case the detection does not work the "server" that has been handed over to this
36 function is used.
38 When you experience errors with this enable debug logging for LDAP
39 (Global Settings > User Interface > Logging > LDAP) and check out
40 the <tt>var/log/web.log</tt> for details.