diff options
author | David Voit <david.voit@gmail.com> | 2024-04-03 07:24:48 +0200 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2024-04-28 00:00:12 +0000 |
commit | c6bf4d9a59809fbb0c22ef9eb167c099ab8089fb (patch) | |
tree | 9086346733731671d164c73131f1d3467d7022c6 /data_blob.h | |
parent | 4718e09e4b15b957bf9d729793bc3de7caad8134 (diff) | |
download | cifs-utils-c6bf4d9a59809fbb0c22ef9eb167c099ab8089fb.tar.gz cifs-utils-c6bf4d9a59809fbb0c22ef9eb167c099ab8089fb.tar.bz2 cifs-utils-c6bf4d9a59809fbb0c22ef9eb167c099ab8089fb.zip |
Implement CLDAP Ping to find the closest sitefor-next
For domain based DFS we always need to contact the domain controllers.
On setups, which are using bigger AD installations you could get random dc on the other side of the world,
if you don't have site support. This can lead to network timeouts and other problems.
CLDAP-Ping uses ASN.1 + UDP (CLDAP) and custom-DCE encoding including DName compressions without
field separation. Finally after finding the sitename we now need to do a DNS SRV lookups to find
the correct IPs to our closest site and fill up the remaining IPs from the global list.
Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Reviewed-by: Jacob Shivers <jshivers@redhat.com>
Signed-off-by: David Voit <david.voit@gmail.com>
Diffstat (limited to 'data_blob.h')
0 files changed, 0 insertions, 0 deletions