mbox series

[0/1] cifs-utils: CLDAP-Ping to find the correct site

Message ID 20240301090921.37353-1-david.voit@gmail.com (mailing list archive)
Headers show
Series cifs-utils: CLDAP-Ping to find the correct site | expand

Message

David Voit March 1, 2024, 9:09 a.m. UTC
Hi All,

we are using a global AD domain and all CIFS shares are only referenced
by DFS entries. As our AD has more then 30 DCs the default random lookup
on mounts sometimes leads to strange network timeouts and other
problems.

The IPv4 path is tested on our setup on multiple sites, but sadly we can't
test IPv6 code path here - I hope it's anyways correct.

My C skills are a little bit rusty, let's hope that I didn't overlook
some pointer-foo :-)

Kind Regards,
David

David Voit (1):
  Implement CLDAP Ping to find the closest site

 Makefile.am    |  15 ++-
 cldap_ping.c   | 331 +++++++++++++++++++++++++++++++++++++++++++++++++
 cldap_ping.h   |   9 ++
 mount.cifs.c   |   5 +-
 resolve_host.c | 270 +++++++++++++++++++++++++++++++++++-----
 resolve_host.h |   6 +-
 6 files changed, 598 insertions(+), 38 deletions(-)
 create mode 100644 cldap_ping.c
 create mode 100644 cldap_ping.h