| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/net/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\302\303\304\"\210\305\306\307\310\311\312\313\314&\210\315\316\317\320\321DD\322\323\324%\210\315\325\317\320\326DD\327\323\330%\210\315\331\317\320\332DD\333\323\334%\210\315\335\317\320\336DD\337\323\340%\210\315\341\317\320\342DD\343\323\344%\210\315\345\317\320\346DD\347\323\350%\210\315\351\317\320\352DD\353\323\354\311\355&\210\315\356\317\320\357DD\360\323\361%\210\315\362\317\320\363DD\364\323\365%\210\315\366\317\320\367DD\370\323\365%\207" [require password-cache autoload auth-source-search "auth-source" custom-declare-group ldap nil "Lightweight Directory Access Protocol." :version "21.1" :group comm custom-declare-variable ldap-default-host funcall function #[0 "\300\207" [nil] 1 #1=""] "Default LDAP server.\nA TCP port number can be appended to that name using a colon as\na separator." :type (choice (string :tag "Host name") (const :tag "Use library default" nil)) ldap-default-port #[0 "\300\207" [nil] 1 #1#] "Default TCP port for LDAP connections.\nInitialized from the LDAP library at build time.\nDefault value is 389." (choice (const :tag "Use library default" nil) (integer :tag "Port number")) ldap-default-base #[0 "\300\207" [nil] 1 #1#] "Default base for LDAP searches.\nThis is a string using the syntax of RFC 1779.\nFor instance, \"o=ACME, c=US\" limits the search to the\nAcme organization in the United States." (choice (const :tag "Use library default" nil) (string :tag "Search base")) ldap-host-parameters-alist #[0 "\300\207" [nil] 1 #1#] "Alist of host-specific options for LDAP transactions.\nThe format of each list element is (HOST PROP1 VAL1 PROP2 VAL2 ...).\nHOST is the hostname of an LDAP server (with an optional TCP port number\nappended to it using a colon as a separator).\nPROPn and VALn are property/value pairs describing parameters for the server.\nValid properties include:\n `binddn' is the distinguished name of the user to bind as\n (in RFC 1779 syntax).\n `passwd' is the password to use for simple authentication.\n `auth' is the authentication method to use.\n Possible values are: `simple', `krbv41' and `krbv42'.\n `base' is the base for the search as described in RFC 1779.\n `scope' is one of the three symbols `subtree', `base' or `onelevel'.\n `deref' is one of the symbols `never', `always', `search' or `find'.\n `timelimit' is the timeout limit for the connection in seconds.\n `sizelimit' is the maximum number of matches to return." (repeat :menu-tag "Host parameters" :tag "Host parameters" (list :menu-tag "Host parameters" :tag "Host parameters" :value nil (string :tag "Host name") (checklist :inline t :greedy t (list :tag "Search Base" :inline t (const :tag "Search Base" base) string) (list :tag "Binding DN" :inline t (const :tag "Binding DN" binddn) string) (list :tag "Password" :inline t (const :tag "Password" passwd) string) (list :tag "Authentication Method" :inline t (const :tag "Authentication Method" auth) (choice (const :menu-tag "None" :tag "None" nil) (const :menu-tag "Simple" :tag "Simple" simple) (const :menu-tag "Kerberos 4.1" :tag "Kerberos 4.1" krbv41) (const :menu-tag "Kerberos 4.2" :tag "Kerberos 4.2" krbv42))) (list :tag "Search Scope" :inline t (const :tag "Search Scope" scope) (choice (const :menu-tag "Default" :tag "Default" nil) (const :menu-tag "Subtree" :tag "Subtree" subtree) (const :menu-tag "Base" :tag "Base" base) (const :menu-tag "One Level" :tag "One Level" onelevel))) (list :tag "Dereferencing" :inline t (const :tag "Dereferencing" deref) (choice (const :menu-tag "Default" :tag "Default" nil) (const :menu-tag "Never" :tag "Never" never) (const :menu-tag "Always" :tag "Always" always) (const :menu-tag "When searching" :tag "When searching" search) (const :menu-tag "When locating base" :tag "When locating base" find))) (list :tag "Time Limit" :inline t (const :tag "Time Limit" timelimit) (integer :tag "(in seconds)")) (list :tag "Size Limit" :inline t (const :tag "Size Limit" sizelimit) (integer :tag "(number of records)"))))) ldap-ldapsearch-prog #[0 "\300\207" ["ldapsearch"] 1 #1#] "The name of the ldapsearch command line program." (string :tag "`ldapsearch' Program") ldap-ldapsearch-args #[0 "\300\207" [("-LL" "-tt")] 1 #1#] "A list of additional arguments to pass to `ldapsearch'." (repeat :tag "`ldapsearch' Arguments" (string :tag "Argument")) ldap-ldapsearch-password-prompt-regexp #[0 "\300\207" ["Enter LDAP Password: "] 1 #1#] "Regexp used to recognize the `ldapsearch' program's password prompt." regexp "25.1" ldap-ignore-attribute-codings #[0 "\300\207" [nil] 1 #1#] "If non-nil, do not encode/decode LDAP attribute values." boolean ldap-default-attribute-decoder #[0 "\300\207" [nil] 1 #1#] "Decoder function to use for attributes whose syntax is unknown." symbol ldap-coding-system #[0 "\300\207" [utf-8] 1 #1#] "Coding system of LDAP string values.\nLDAP v3 specifies the coding system of strings to be UTF-8."] 8)
#@237 A vector of functions used to encode LDAP attribute values.
The sequence of functions corresponds to the sequence of LDAP attribute syntax
object identifiers of the form 1.3.6.1.4.1.1466.1115.121.1.* as defined in
RFC2252 section 4.3.2
(defvar ldap-attribute-syntax-encoders [nil nil nil nil nil nil ldap-encode-boolean nil nil nil ldap-encode-country-string ldap-encode-string nil nil ldap-encode-string nil nil nil nil nil nil nil nil nil nil nil number-to-string nil nil nil nil nil nil nil nil nil nil nil nil nil ldap-encode-address nil nil ldap-encode-string nil nil nil nil nil nil nil nil nil nil nil nil nil nil] (#$ . 5002))
#@237 A vector of functions used to decode LDAP attribute values.
The sequence of functions corresponds to the sequence of LDAP attribute syntax
object identifiers of the form 1.3.6.1.4.1.1466.1115.121.1.* as defined in
RFC2252 section 4.3.2
(defvar ldap-attribute-syntax-decoders [nil nil nil nil nil nil ldap-decode-boolean nil nil nil ldap-decode-string ldap-decode-string nil nil ldap-decode-string nil nil nil nil nil nil nil nil nil nil nil string-to-number nil nil nil nil nil nil nil nil nil nil nil nil nil ldap-decode-address nil nil ldap-decode-string nil nil nil nil nil nil nil nil nil nil nil nil nil nil] (#$ . 5644))
#@157 A map of LDAP attribute names to their type object id minor number.
This table is built from RFC2252 Section 5, RFC2256 Section 5 and
RFC2798 Section 9.1.1
(defvar ldap-attribute-syntaxes-alist '((createtimestamp . 24) (modifytimestamp . 24) (creatorsname . 12) (modifiersname . 12) (subschemasubentry . 12) (attributetypes . 3) (objectclasses . 37) (matchingrules . 30) (matchingruleuse . 31) (namingcontexts . 12) (altserver . 26) (supportedextension . 38) (supportedcontrol . 38) (supportedsaslmechanisms . 15) (supportedldapversion . 27) (ldapsyntaxes . 16) (ditstructurerules . 17) (nameforms . 35) (ditcontentrules . 16) (objectclass . 38) (aliasedobjectname . 12) (cn . 15) (sn . 15) (serialnumber . 44) (c . 15) (l . 15) (st . 15) (street . 15) (o . 15) (ou . 15) (title . 15) (description . 15) (searchguide . 25) (businesscategory . 15) (postaladdress . 41) (postalcode . 15) (postofficebox . 15) (physicaldeliveryofficename . 15) (telephonenumber . 50) (telexnumber . 52) (telexterminalidentifier . 51) (facsimiletelephonenumber . 22) (x121address . 36) (internationalisdnnumber . 36) (registeredaddress . 41) (destinationindicator . 44) (preferreddeliverymethod . 14) (presentationaddress . 43) (supportedapplicationcontext . 38) (member . 12) (owner . 12) (roleoccupant . 12) (seealso . 12) (userpassword . 40) (usercertificate . 8) (cacertificate . 8) (authorityrevocationlist . 9) (certificaterevocationlist . 9) (crosscertificatepair . 10) (name . 15) (givenname . 15) (initials . 15) (generationqualifier . 15) (x500uniqueidentifier . 6) (dnqualifier . 44) (enhancedsearchguide . 21) (protocolinformation . 42) (distinguishedname . 12) (uniquemember . 34) (houseidentifier . 15) (supportedalgorithms . 49) (deltarevocationlist . 9) (dmdname . 15) (carlicense . 15) (departmentnumber . 15) (displayname . 15) (employeenumber . 15) (employeetype . 15) (jpegphoto . 28) (preferredlanguage . 15) (usersmimecertificate . 5) (userpkcs12 . 5)) (#$ . 6278))
#@13
(fn BOOL)
(defalias 'ldap-encode-boolean #[257 "\211\203 \300\207\301\207" ["TRUE" "FALSE"] 2 (#$ . 8251)])
#@12
(fn STR)
(defalias 'ldap-decode-boolean #[257 "\211\300\230\203 \301\207\211\302\230\203 \303\207\304\305\"\207" ["TRUE" t "FALSE" nil error "Wrong LDAP boolean string: %s"] 4 (#$ . 8368)])
#@12
(fn STR)
(defalias 'ldap-encode-country-string #[257 "\211G\300U?\205\f \301\302\"\207" [2 error "Invalid country string: %s"] 4 (#$ . 8569)])
#@12
(fn STR)
(defalias 'ldap-decode-string #[257 "\301\"\207" [ldap-coding-system decode-coding-string] 4 (#$ . 8721)])
#@12
(fn STR)
(defalias 'ldap-encode-string #[257 "\301\"\207" [ldap-coding-system encode-coding-string] 4 (#$ . 8847)])
#@12
(fn STR)
(defalias 'ldap-decode-address #[257 "\300\301\302\303\"\304#\207" [mapconcat ldap-decode-string split-string "\\$" "\n"] 6 (#$ . 8973)])
#@12
(fn STR)
(defalias 'ldap-encode-address #[257 "\300\301\302\303\"\304#\207" [mapconcat ldap-encode-string split-string "\n" "$"] 6 (#$ . 9129)])
#@91 Get the value of PARAMETER for HOST in `ldap-host-parameters-alist'.
(fn HOST PARAMETER)
(defalias 'ldap-get-host-parameter #[514 "\301\302\"A\"\207" [ldap-host-parameters-alist plist-get assoc] 6 (#$ . 9283)])
#@256 Decode the attribute/value pair ATTR according to LDAP rules.
The attribute name is looked up in `ldap-attribute-syntaxes-alist'
and the corresponding decoder is then retrieved from
`ldap-attribute-syntax-decoders' and applied on the value(s).
(fn ATTR)
(defalias 'ldap-decode-attribute #[257 "\211@A\303\227!\236A\304\203 SH\262\202 \n\262\211\203'