]> git.eshelyaron.com Git - emacs.git/commitdiff
ldap-host-parameters-alist: Add auth-source option
authorFabrice Bauzac-Stehly <noon@mykolab.com>
Fri, 2 Sep 2022 04:23:46 +0000 (00:23 -0400)
committerThomas Fitzsimmons <fitzsim@fitzsim.org>
Fri, 2 Sep 2022 04:28:00 +0000 (00:28 -0400)
* lisp/net/ldap.el (ldap-host-parameters-alist): Add auth-source
to checklist.

lisp/net/ldap.el

index 5e14589d19bf25495987b27b600b24541a4e6dc1..062ff05d69c1815deb24a24ba9a6d7dc249f4dfd 100644 (file)
@@ -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