From 6ffc091e1704f27c7d8f9caf497ea435f720c724 Mon Sep 17 00:00:00 2001 From: Fabrice Bauzac-Stehly Date: Fri, 2 Sep 2022 00:23:46 -0400 Subject: [PATCH] ldap-host-parameters-alist: Add auth-source option * lisp/net/ldap.el (ldap-host-parameters-alist): Add auth-source to checklist. --- lisp/net/ldap.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el index 5e14589d19b..062ff05d69c 100644 --- a/lisp/net/ldap.el +++ b/lisp/net/ldap.el @@ -72,6 +72,9 @@ HOST is the hostname of an LDAP server (with an optional TCP port number appended to it using a colon as a separator). PROPn and VALn are property/value pairs describing parameters for the server. Valid properties include: + `auth-source' specifies whether or not to look up, via the + `auth-source' library, options which are not otherwise provided + in this list. See `ldap-search-internal'. `binddn' is the distinguished name of the user to bind as (in RFC 1779 syntax). `passwd' is the password to use for simple authentication. @@ -90,6 +93,11 @@ Valid properties include: (string :tag "Host name") (checklist :inline t :greedy t + (list + :tag "Use auth-source" + :inline t + (const :tag "Use auth-source" auth-source) + boolean) (list :tag "Search Base" :inline t -- 2.39.2