Linux-CIFS Archive mirror
 help / color / mirror / Atom feed
From: David Voit <david.voit@gmail.com>
To: linux-cifs@vger.kernel.org
Cc: David Voit <david.voit@gmail.com>
Subject: [PATCH v3 0/1] cifs-utils: CLDAP-Ping to find the correct site
Date: Wed, 27 Mar 2024 11:00:17 +0100	[thread overview]
Message-ID: <20240327100018.63694-1-david.voit@gmail.com> (raw)

Hi All,

changes form v2:
  - rebased to next
  - ldap response on older AD-Servers is not case-sensitive - parse ldap
    response instead of memmem hack
  - off by one error in seperator extraction
  - socketaddr is now consructed in cldap_ping.c and no longer in
    resolve_host.c
  - IPv6 is - limited - tested. Just the cldap_ping path not the full
    integration, but this is the critical stuff anyway.

Feedback as always welcome :-)

Kind Regards
David

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

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

-- 
2.44.0


             reply	other threads:[~2024-03-27 10:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-27 10:00 David Voit [this message]
2024-03-27 10:00 ` [PATCH v3 1/1] Implement CLDAP Ping to find the closest site David Voit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240327100018.63694-1-david.voit@gmail.com \
    --to=david.voit@gmail.com \
    --cc=linux-cifs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).