The trivial-ldap Reference Manual
Table of Contents
The trivial-ldap Reference Manual
This is the trivial-ldap Reference Manual, version 0.94,
generated automatically by Declt version 3.0 "Montgomery Scott"
on Tue Dec 22 15:19:34 2020 GMT+0.
1 Introduction
Introduction
One-two, one-two... is this thing working?
This is Kevin Montuori's trivial-ldap, with a few modifications.
A few years back, I needed some mechanism for querying AD servers, as
part of a custom content connector for the FAST ESP search engine. I
found trivial-ldap, and was soon using it to good effect.
After having used trivial-ldap for a while, I made some modifications,
and asked Kevin to review them, and integrate them if he felt that
they added value. Unfortunately, Kevin is too busy to spend time
on trivial-ldap, so he graciously let me publish whatever changes I
had.
Changes
LDAP Filter Parser
The LDAP filter parser has been rewritten from scratch, using
cl-yacc. This makes filter parsing somewhat faster, and should also
make it easier to maintain. The downside is one more dependency.
Attribute Naming
The original code used symbols in the current package to name LDAP
attributes. This has changed, and all attribute names are now interned
in the keyword package. So, something like
(ldap:attr-value *entry* 'cname)
should now be
(ldap:attr-value *entry* :cname)
and so on. Note: this is probably only important when working with an
LDAP entry, as that is the only place where we use symbol identity for
matching.
Binary Attributes
There was a tacit assumption in the trivial-ldap code that all
attributes are UTF-8 encoded strings, while in reality they can be
7-bit ASCII (USASCII), UTF-8 or even binary. There is now a mechanism
in place for giving hints to trivial-ldap that certain attributes
should be treated as binary values --- such attributes will be
returned as lists of (unsigned-byte 8), instead of as unicode
strings.
The interface to this mechanism is
(ldap:attribute-binary-p <attribute-name>) => <generalized-boolean>
and
(setf (ldap:attribute-binary-p <attribute-name>) <generalized-boolean>)
Note: Elias Mårtenson has supplied some handy restarts that can be
used when it turns out that an attribute cannot be converted to UTF-8
(which, in turn, probably means that it should be treated as
binary). See handle-as-binary and handle-as-binary-and-add-known in
trivial-ldap.lisp .
List Equivalents
Search filters and values can be specified as lists instead of as
strings. This has two advantages:
-
Binary values can be specified (lists of octet values will not be
treated as UTF-8 sequences).
-
It is not necessary to build string representations of a filter just
to have the filter parser deconstruct it back to the representation
that should be natural for Lisp.
-
Values can be specified as octet lists, strings or symbols --
when a symbol is specified, the actual value used is whatever
(symbol-name <symbol>)
returns.
-
The function #'listify-filter can be used to turn a string filter
into an equivalent list representation; this should be useful for
experimenting with the list format.
Examples:
(ldap:search *ldap* '(and (= objectclass person) (= cname "rayw")))
(let ((name "rayw"))
(ldap:search *ldap* `(and (= objectclass person) (= cname ,name))))
Paging Through Results
Support for the LDAP Control Extension "Simple Paged Results"
(rfc2696) has been added. It is invoked by setting the :size-limit
search parameter to 0 (zero), and setting :paging-size to a positive
integer. Note that the server imposes its own restrictions here, so
the actual number of results in a batch may be lower than specified.
Apart from setting these two required parameters, the operation of the
paging mechanism is wholly transparent: batches are fetched
automatically whenever the #'next-search-result method has exhausted
all entries in the current batch (assuming that the appropriate
parameters have been specified, and that there are actually more
results to be fetched.)
Examples:
(and (ldap:search *ldap* '(& (substring samaccountname "ra*") (= objectclass person))
:attributes '("1.1") :size-limit 0 :paging-size 500)
(loop for entry = (ldap:next-search-result *ldap*)
while entry
count entry))
2 Systems
The main system appears first, followed by any subsystem dependency.
2.1 trivial-ldap
- Maintainer
Raymond Wiker <rwiker@gmail.com>
- Author
Kevin Montuori
- License
Clarified Artistic License
- Description
TRIVIAL-LDAP is a one file, all Common Lisp client implementation of parts of RFC 2261.
- Version
0.94
- Dependencies
-
- Source
trivial-ldap.asd (file)
- Components
-
3 Files
Files are sorted by type and then listed depth-first from the systems
components trees.
3.1 Lisp
3.1.1 trivial-ldap.asd
- Location
trivial-ldap.asd
- Systems
trivial-ldap (system)
3.1.2 trivial-ldap/package.lisp
- Parent
trivial-ldap (system)
- Location
package.lisp
- Packages
trivial-ldap
3.1.3 trivial-ldap/trivial-ldap.lisp
- Dependency
package.lisp (file)
- Parent
trivial-ldap (system)
- Location
trivial-ldap.lisp
- Exported Definitions
-
- Internal Definitions
-
4 Packages
Packages are listed by definition order.
4.1 trivial-ldap
- Source
package.lisp (file)
- Nickname
ldap
- Use List
common-lisp
- Exported Definitions
-
- Internal Definitions
-
5 Definitions
Definitions are sorted by export status, category, package, and then by
lexicographic order.
5.1 Exported definitions
5.1.1 Macros
- Macro: dosearch (VAR SEARCH-FORM) &body BODY
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Macro: ldif-search &rest SEARCH-PARAMETERS
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
5.1.2 Functions
- Function: attribute-binary-p ATTRIBUTE-NAME
-
- Function: (setf attribute-binary-p) VALUE ATTRIBUTE-NAME
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: escape-string STRING
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: listify-filter FILTER
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: new-entry DN &key ATTRS INFER-RDN
-
Instantiate a new entry object.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: new-entry-from-list LIST
-
Create an entry object from the list return by search.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: new-ldap &key HOST SSLFLAG PORT USER PASS BASE DEBUG SASL REUSE-CONNECTION TIMEOUT
-
Instantiate a new ldap object.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: unescape-string STRING
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
5.1.3 Generic functions
- Generic Function: abandon LDAP
-
- Package
trivial-ldap
- Methods
- Method: abandon (LDAP ldap)
-
Abandon the request and suck any data off the incoming stream.
Because the receive-message will keep receiving messages until it gets
one with the correct message number, no action needs to be taken here to
clear the incoming data off the line. It’s unclear that’s the best
solution, but (clear-input) doesn’t actually work and trying to read non-
existent bytes blocks...
- Source
trivial-ldap.lisp (file)
- Generic Function: add LDAP ENTRY
-
- Package
trivial-ldap
- Methods
- Method: add (ENTRY entry) (LDAP ldap)
-
Add an entry object to LDAP; error unless successful.
- Source
trivial-ldap.lisp (file)
- Method: add (LDAP ldap) (ENTRY entry)
-
Add an entry to the directory.
- Source
trivial-ldap.lisp (file)
- Generic Function: add-attr ENTRY ATTR VALS
-
- Package
trivial-ldap
- Methods
- Method: add-attr (ENTRY entry) ATTR VALS
-
Add an attribute to entry object, do not update LDAP.
- Source
trivial-ldap.lisp (file)
- Generic Function: attr-list ENTRY
-
- Package
trivial-ldap
- Methods
- Method: attr-list (ENTRY entry)
-
Given an entry object, return a list of its attributes.
- Source
trivial-ldap.lisp (file)
- Generic Function: attr-value ENTRY ATTR
-
- Package
trivial-ldap
- Methods
- Method: attr-value (ENTRY entry) (ATTRS list)
-
Given an entry object and list of attr names (as symbols),
return list of lists of attributes.
- Source
trivial-ldap.lisp (file)
- Method: attr-value (ENTRY entry) ATTR
-
Given an entry object and attr name (symbol), return list of values.
- Source
trivial-ldap.lisp (file)
- Generic Function: attrs OBJECT
-
- Generic Function: (setf attrs) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: attrs (ENTRY entry)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf attrs) NEW-VALUE (ENTRY entry)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: base OBJECT
-
- Generic Function: (setf base) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: base (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf base) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: bind LDAP
-
- Package
trivial-ldap
- Methods
- Method: bind (LDAP ldap)
-
Send a BindRequest.
- Source
trivial-ldap.lisp (file)
- Generic Function: change-rdn ENTRY NEW-RDN
-
- Package
trivial-ldap
- Methods
- Method: change-rdn (ENTRY entry) NEW-RDN
-
Change the DN and RDN of the specified object, don’t touch LDAP.
- Source
trivial-ldap.lisp (file)
- Generic Function: compare LDAP DN-OR-ENTRY ATTRIBUTE VALUE
-
- Package
trivial-ldap
- Methods
- Method: compare (DN string) (LDAP ldap) ATTRIBUTE VALUE
-
Compare entry’s att/val; calle by both entry/compare methods.
- Source
trivial-ldap.lisp (file)
- Method: compare (ENTRY entry) (LDAP ldap) ATTRIBUTE VALUE
-
Assert an entry has an att=val; return t or nil, or throw error.
- Source
trivial-ldap.lisp (file)
- Method: compare (LDAP ldap) DN-OR-ENTRY ATTRIBUTE VALUE
-
Assert DN has attribute with specified value.
- Source
trivial-ldap.lisp (file)
- Generic Function: debugflag OBJECT
-
- Generic Function: (setf debugflag) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: debugflag (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf debugflag) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: del-attr ENTRY ATTR &optional VALS
-
- Package
trivial-ldap
- Methods
- Method: del-attr (ENTRY entry) ATTR &optional VALS
-
Delete an attribute from entry object, do not update LDAP
- Source
trivial-ldap.lisp (file)
- Generic Function: delete LDAP DN-OR-ENTRY
-
- Package
trivial-ldap
- Methods
- Method: delete (DN string) (LDAP ldap)
-
Delete an entry from LDAP; error unless successful.
- Source
trivial-ldap.lisp (file)
- Method: delete (ENTRY entry) (LDAP ldap)
-
Delete an entry object from ldap; error unless successful.
- Source
trivial-ldap.lisp (file)
- Method: delete (LDAP ldap) DN-OR-ENTRY
-
Delete an entry (or DN) from the directory.
- Source
trivial-ldap.lisp (file)
- Generic Function: dn CONDITION
-
- Generic Function: (setf dn) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: dn (DN string)
-
- Source
trivial-ldap.lisp (file)
- Method: dn (ENTRY entry)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: dn (CONDITION ldap-response-error)
-
- Source
trivial-ldap.lisp (file)
- Method: (setf dn) NEW-VALUE (ENTRY entry)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: host CONDITION
-
- Generic Function: (setf host) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: host (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: host (CONDITION ldap-connection-error)
-
- Source
trivial-ldap.lisp (file)
- Method: (setf host) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: ldif ENTRY
-
- Package
trivial-ldap
- Methods
- Method: ldif (ENTRY entry)
-
Return an ldif formatted representation of entry.
- Source
trivial-ldap.lisp (file)
- Generic Function: moddn LDAP DN-OR-ENTRY NEW-RDN &key DELETE-OLD NEW-SUP
-
- Package
trivial-ldap
- Methods
- Method: moddn (DN string) (LDAP ldap) NEW-RDN &key DELETE-OLD NEW-SUP
-
Modify the RDN of an LDAP entry.
- Source
trivial-ldap.lisp (file)
- Method: moddn (ENTRY entry) (LDAP ldap) NEW-RDN &key DELETE-OLD NEW-SUP
-
Modify the RDN of an LDAP entry; update the entry object as well.
- Source
trivial-ldap.lisp (file)
- Method: moddn (LDAP ldap) DN-OR-ENTRY NEW-RDN &key DELETE-OLD NEW-SUP
-
Modify an entry’s RDN.
- Source
trivial-ldap.lisp (file)
- Generic Function: modify LDAP DN-OR-ENTRY LIST-OF-MODS
-
- Package
trivial-ldap
- Methods
- Method: modify (ENTRY entry) (LDAP ldap) LIST-OF-MODS
-
Modify entry attributes in ldap, update the entry object.
LIST-OF-MODS is a list of (type att val) triples.
- Source
trivial-ldap.lisp (file)
- Method: modify (LDAP ldap) DN-OR-ENTRY LIST-OF-MODS
-
Modify and entry’s attributes.
- Source
trivial-ldap.lisp (file)
- Generic Function: next-search-result LDAP
-
- Package
trivial-ldap
- Methods
- Method: next-search-result (LDAP ldap)
-
Return the next search result (as entry obj) or NIL if none.
- Source
trivial-ldap.lisp (file)
- Generic Function: pass OBJECT
-
- Generic Function: (setf pass) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: pass (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf pass) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: port CONDITION
-
- Generic Function: (setf port) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: port (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: port (CONDITION ldap-connection-error)
-
- Source
trivial-ldap.lisp (file)
- Method: (setf port) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: rdn OBJECT
-
- Generic Function: (setf rdn) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: rdn (ENTRY entry)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf rdn) NEW-VALUE (ENTRY entry)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: replace-attr ENTRY ATTR VALS
-
- Package
trivial-ldap
- Methods
- Method: replace-attr (ENTRY entry) ATTR VALS
-
Replace attribute values from entry object, do not update LDAP
- Source
trivial-ldap.lisp (file)
- Generic Function: response OBJECT
-
- Generic Function: (setf response) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: response (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf response) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: results-pending-p OBJECT
-
- Generic Function: (setf results-pending-p) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: results-pending-p (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf results-pending-p) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: reuse-connection OBJECT
-
- Generic Function: (setf reuse-connection) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: reuse-connection (LDAP ldap)
-
- Method: (setf reuse-connection) NEW-VALUE (LDAP ldap)
-
nil, t, or rebind
- Source
trivial-ldap.lisp (file)
- Generic Function: search LDAP FILTER &key BASE SCOPE DEREF SIZE-LIMIT TIME-LIMIT TYPES-ONLY ATTRIBUTES PAGING-SIZE
-
- Package
trivial-ldap
- Methods
- Method: search (LDAP ldap) FILTER &key BASE SCOPE DEREF SIZE-LIMIT TIME-LIMIT TYPES-ONLY ATTRIBUTES PAGING-SIZE
-
Search the LDAP directory.
- Source
trivial-ldap.lisp (file)
- Generic Function: sslflag OBJECT
-
- Generic Function: (setf sslflag) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: sslflag (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf sslflag) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: unbind LDAP
-
- Package
trivial-ldap
- Methods
- Method: unbind (LDAP ldap)
-
Unbind and close the ldap stream.
- Source
trivial-ldap.lisp (file)
- Generic Function: user OBJECT
-
- Generic Function: (setf user) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: user (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf user) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
5.1.4 Conditions
- Condition: ldap-bind-error ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
ldap-error (condition)
- Direct methods
code-sym (method)
- Direct slots
- Slot: code-sym
-
- Initargs
:code-sym
- Initform
(quote (error "must specify code-sym"))
- Readers
code-sym (generic function)
- Condition: ldap-connection-error ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
ldap-error (condition)
- Direct methods
-
- Direct slots
- Slot: host
-
- Initargs
:host
- Readers
host (generic function)
- Slot: port
-
- Initargs
:port
- Readers
port (generic function)
- Condition: ldap-error ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
error (condition)
- Direct subclasses
-
- Direct methods
mesg (method)
- Direct slots
- Slot: note
-
- Initargs
:mesg
- Initform
(quote "ldap transaction resulted in an error.")
- Readers
mesg (generic function)
- Condition: ldap-filter-error ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
ldap-error (condition)
- Direct methods
filter (method)
- Direct slots
- Slot: filter
-
- Initargs
:filter
- Initform
(quote "not supplied")
- Readers
filter (generic function)
- Condition: ldap-referral-error ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
ldap-error (condition)
- Condition: ldap-response-error ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
ldap-error (condition)
- Direct methods
-
- Direct slots
- Slot: dn
-
- Initargs
:dn
- Initform
(quote "dn not available.")
- Readers
dn (generic function)
- Slot: code
-
- Initargs
:code
- Initform
(quote "result code not available")
- Readers
code (generic function)
- Slot: msg
-
- Initargs
:msg
- Initform
(quote "n/a")
- Readers
msg (generic function)
- Condition: ldap-size-limit-exceeded-error ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
ldap-error (condition)
- Condition: probably-binary-field-error ()
-
Condition that is signalled when a binary field is being parsed as a string
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
error (condition)
- Direct methods
probably-binary-field-error-key (method)
- Direct slots
- Slot: key
-
The name of the key which has binary content
- Initargs
:key
- Readers
probably-binary-field-error-key (generic function)
5.1.5 Classes
- Class: entry ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
standard-object (class)
- Direct methods
-
- Direct slots
- Slot: dn
-
- Type
string
- Initargs
:dn
- Readers
dn (generic function)
- Writers
(setf dn) (generic function)
- Slot: rdn
-
- Type
string
- Initargs
:rdn
- Readers
rdn (generic function)
- Writers
(setf rdn) (generic function)
- Slot: attrs
-
- Type
cons
- Initargs
:attrs
- Readers
attrs (generic function)
- Writers
(setf attrs) (generic function)
- Class: ldap ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
standard-object (class)
- Direct methods
-
- Direct slots
- Slot: host
-
- Type
string
- Initargs
:host
- Initform
"localhost"
- Readers
host (generic function)
- Writers
(setf host) (generic function)
- Slot: port
-
- Type
integer
- Initargs
:port
- Initform
trivial-ldap::+ldap-port-no-ssl+
- Readers
port (generic function)
- Writers
(setf port) (generic function)
- Slot: sslflag
-
- Type
symbol
- Initargs
:sslflag
- Readers
sslflag (generic function)
- Writers
(setf sslflag) (generic function)
- Slot: user
-
- Type
string
- Initargs
:user
- Initform
""
- Readers
user (generic function)
- Writers
(setf user) (generic function)
- Slot: pass
-
- Type
string
- Initargs
:pass
- Initform
""
- Readers
pass (generic function)
- Writers
(setf pass) (generic function)
- Slot: ldapstream
-
- Type
(or null stream)
- Initargs
:ldapstream
- Readers
ldapstream (generic function)
- Writers
(setf ldapstream) (generic function)
- Slot: ldapsock
-
- Initargs
:ldapsock
- Readers
ldapsock (generic function)
- Writers
(setf ldapsock) (generic function)
- Slot: reuse-connection
-
nil, t, or rebind
- Type
symbol
- Initargs
:reuse-connection
- Initform
t
- Readers
reuse-connection (generic function)
- Writers
(setf reuse-connection) (generic function)
- Slot: timeout
-
- Type
(or null (integer 0))
- Initargs
:timeout
- Readers
timeout (generic function)
- Writers
(setf timeout) (generic function)
- Slot: sasl
-
- Initargs
:sasl
- Readers
sasl (generic function)
- Writers
(setf sasl) (generic function)
- Slot: gss-context
-
- Readers
gss-context (generic function)
- Writers
(setf gss-context) (generic function)
- Slot: incoming-buffer
-
- Readers
incoming-buffer (generic function)
- Writers
(setf incoming-buffer) (generic function)
- Slot: incoming-buffer-pos
-
- Readers
incoming-buffer-pos (generic function)
- Writers
(setf incoming-buffer-pos) (generic function)
- Slot: wrap-packets
-
NIL means no wrapping. :CONF
indicates encryption. Other values means plain wrapping.
- Readers
wrap-packets (generic function)
- Writers
(setf wrap-packets) (generic function)
- Slot: mesg
-
- Type
integer
- Initargs
:mesg
- Initform
0
- Readers
mesg (generic function)
- Writers
(setf mesg) (generic function)
- Slot: debugflag
-
- Type
symbol
- Initargs
:debugflag
- Readers
debugflag (generic function)
- Writers
(setf debugflag) (generic function)
- Slot: base
-
- Type
(or null string)
- Initargs
:base
- Readers
base (generic function)
- Writers
(setf base) (generic function)
- Slot: response
-
- Initargs
:response
- Readers
response (generic function)
- Writers
(setf response) (generic function)
- Slot: entry-buffer
-
- Initargs
:entry-buffer
- Readers
entry-buffer (generic function)
- Writers
(setf entry-buffer) (generic function)
- Slot: results-pending-p
-
- Type
(boolean)
- Initargs
:results-pending-p
- Readers
results-pending-p (generic function)
- Writers
(setf results-pending-p) (generic function)
- Slot: paging-cookie
-
- Type
string
- Initform
""
- Readers
paging-cookie (generic function)
- Writers
(setf paging-cookie) (generic function)
- Slot: search-fn
-
- Readers
search-fn (generic function)
- Writers
(setf search-fn) (generic function)
5.2 Internal definitions
5.2.1 Constants
- Constant: +ber-abandon-tag+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-add-tag+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-app-const-base+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-bind-tag+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-class-id+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-comp-tag+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-controls-tag+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-del-tag+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-long-length-marker+
-
Flag indicating more tag number bytes follow
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-moddn-tag+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-modify-tag+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-multibyte-tag-number+
-
Flag indicating tag number requires > 1 byte
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-p/c-bit+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-search-tag+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-bool+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-controls+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-enum+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-ext-name+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-ext-val+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-extendedresponse+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-int+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-referral+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-sasl-res-creds+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-seq+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-set+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-tag-str+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ber-unbind-tag+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-application-names+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-control-extension-paging+
-
OID of the paging control.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-deref+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-disconnection-response+
-
OID of the unsolicited disconnection reponse.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-filter-comparison-char+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-modify-type+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-port-no-ssl+
-
Default LDAP Port.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-port-ssl+
-
Default LDAPS Port.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-result-codes+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-scope+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-substring+
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +ldap-version+
-
LDAP version 3.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Constant: +max-int+
-
As defined by the LDAP RFC.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
5.2.2 Special variables
- Special Variable: *binary-attributes*
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Special Variable: *hex-print*
-
Format directive to print a list of line wrapped hex numbers.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Special Variable: *init-sec-fn*
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Special Variable: *ldap-filter-parser*
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Special Variable: *unwrap-fn*
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Special Variable: *wrap-fn*
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
5.2.3 Macros
- Macro: debug-mesg LDAP MESSAGE
-
If debugging in T, print a message.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Macro: define-constant NAME VALUE &optional DOC
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
5.2.4 Functions
- Function: attrs-from-list X
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: base10->base256 INT
-
Return representation of an integer as a list of base 256 ’digits’.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: base256->base10 LIST
-
Given a list of base 256 ’digits’ return an integer.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: base256-vec->base10 VEC &key START END
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ber-class-id CLASS
-
Return the bits to construct a BER tag of type class.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ber-length IT
-
Given a sequence or integer, return a BER length.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ber-msg TAG DATA
-
Given a BER tag and a sequence of data, return a message
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ber-p/c-bit P/C
-
Return the bit to construct a BER tag of class primitive or constructed.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ber-tag CLASS P/C NUMBER-OR-COMMAND
-
Construct the list of bytes that constitute a BER tag number 0-127.
CLASS should be the symbol universal, applicaiton, context, or private.
P/C should be the symbol primitive or constructed.
NUMBER should be either an integer or LDAP application name as symbol.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ber-tag-type CLASS P/C
-
Construct the bits that kicks off a BER tag byte.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: bind-gss LDAP
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: bind-gss-spnego LDAP
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: char-code-list->string CHAR-CODE-LIST
-
Convert a list of bytes into a string.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: char-code-vec->string CHAR-CODE-VEC &key START END
-
Convert a vector of bytes into a string.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: check-message-number RESPONSE EXPECTED-MESG-NUMBER
-
Determine if the message number of a BER response is correct.
Returns BER response if it is correct or NIL otherwise.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: copy-response-vec VEC &key START END
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: create-sasl-message LDAP MECHANISM BUFFER
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: decrypt-stream LDAP
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: encrypt-message LDAP MESSAGE STREAM
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: int->octet-list INT
-
Return 2s comp. representation of INT.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ldap-command COMMAND
-
Given a symbol naming an ldap command, return the command number.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ldap-command-sym NUMBER
-
Given an application number, return the command name as symbol.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ldap-deref &optional DEREF
-
Given a deref symbol return the enumeration int.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ldap-filter-comparison-char COMPARISON-CHAR-AS-SYMBOL
-
Given a comparison character, return its integer enum value.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ldap-filter-lexer STRING
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ldap-modify-type TYPE
-
Given a modify type, return the enumeration int.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ldap-result-code-string CODE
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ldap-result-code-symbol CODE
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ldap-scope &optional SCOPE
-
Given a scope symbol return the enumeration int.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: ldap-substring TYPE
-
Given a substring type, return its integer choice value.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: list-entries-to-string KEY LIST
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: make-response-vec SIZE
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: msg-compare DN-OR-ENTRY ATTRIBUTE VALUE
-
Return the sequence of bytes representing a compare message.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: msg-delete DN-OR-ENTRY
-
Return the sequence of bytes representing a delete message.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: msg-moddn DN-OR-ENTRY NEW-RDN DELETE-OLD NEW-SUP
-
Return the sequence of bytes representing a moddn message.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: msg-modify DN-OR-ENTRY MOD-LIST
-
Return the sequence of bytes representing a modify message.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: msg-search FILTER BASE SCOPE DEREF SIZE TIME TYPES ATTRS &optional PAGING-SIZE PAGING-COOKIE
-
Return the sequence of bytes representing a search message.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: new-referrer URL
-
Instantiate a new referrer object.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: octet-list->int OCTET-LIST
-
Convert sequence of twos-complement octets into an integer.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: octet-vec->int VEC &key START END
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: process-response-controls LDAP CONTROLS
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: rdn-from-dn DN
-
Given a DN, return its RDN and a cons of (att . val)
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-app-number TAG
-
Given an application tag, return which ldap app number it represents.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-controls MESSAGE
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-decoder RESPONSE
-
Decode a BER encoded response (minus initial byte & length) from LDAP.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-generic MESSAGE
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-integer MESSAGE
-
Read an int from the message.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-length MESSAGE
-
Given message starting with length marker.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-message-number RESPONSE EXPECTED-MESG-NUMBER
-
Read message number from the seq, return t or nil.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-octets MESSAGE
-
Read an octet vector from the message.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-string MESSAGE
-
Read a string from the message.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-with-length STREAM &key LENGTH
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: read-wrapped-byte LDAP
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: receive-length LDAP
-
Read length of LDAP message from stream, return length & the bytes read.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: send-sasl LDAP MECHANISM BUFFER
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: send-sasl-auth-res LDAP CONTEXT SASL-RES
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-att-and-values ATT VALS
-
BER encode an attribute and set of values (for use in modify).
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-attribute-alist ATTS
-
BER encode an entry object’s attribute alist (for use in add).
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-attribute-assertion ATT VAL
-
BER encode an ldap attribute assertion (for use in compare).
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-attribute-list ATT-LIST
-
BER encode a list of attributes (for use in search).
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-attribute-value-assertion ATT VAL
-
BER encode an ldap attribute value assertion (for use in filters).
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-boolean T/F
-
BER encode a boolean value.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-constructed-choice INT &optional DATA
-
BER encode a context-specific, constructed choice.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-enumerated INT
-
BER encode an enumeration value.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-filter FILTER
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-integer INT
-
BER encode an integer value.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-null ()
-
BER encode a NULL
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-octet-string STRING
-
BER encode an octet string value.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-primitive-choice INT &optional DATA
-
BER encode a context-specific choice.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-primitive-string STRING
-
BER encode a string/symbol for use in a primitive context.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-sequence TLV-SEQ
-
BER encode a sequence of TLVs.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-set TLV-SET
-
BER encode a set of TLVs.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: seq-substrings VALUE
-
Given a search value with *s in it, return a BER encoded list.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: split-substring STRING &optional LIST
-
Split a substring filter value into a list, retaining the * separators.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: string->char-code-list STRING
-
Convert a string into a list of bytes.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: valid-ldap-response-p TAG-BYTE
-
Return T if this is the valid initial tag byte for an LDAP response.
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Function: write-with-length BUFFER STREAM &key LENGTH
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
5.2.5 Generic functions
- Generic Function: bytes-remaining RESPONSE-VEC
-
- Package
trivial-ldap
- Methods
- Method: bytes-remaining (RESPONSE-VEC response-vec)
-
- Source
trivial-ldap.lisp (file)
- Generic Function: close-stream LDAP
-
- Package
trivial-ldap
- Methods
- Method: close-stream (LDAP ldap)
-
Close an ldap connection if it is currently open.
- Source
trivial-ldap.lisp (file)
- Generic Function: code CONDITION
-
- Package
trivial-ldap
- Methods
- Method: code (CONDITION ldap-response-error)
-
- Source
trivial-ldap.lisp (file)
- Generic Function: code-sym CONDITION
-
- Package
trivial-ldap
- Methods
- Method: code-sym (CONDITION ldap-bind-error)
-
- Source
trivial-ldap.lisp (file)
- Generic Function: discard-bytes RESPONSE-VEC N
-
- Package
trivial-ldap
- Methods
- Method: discard-bytes (RESPONSE-VEC response-vec) N
-
- Source
trivial-ldap.lisp (file)
- Generic Function: entry-buffer OBJECT
-
- Generic Function: (setf entry-buffer) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: entry-buffer (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf entry-buffer) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: filter CONDITION
-
- Package
trivial-ldap
- Methods
- Method: filter (CONDITION ldap-filter-error)
-
- Source
trivial-ldap.lisp (file)
- Generic Function: get-stream LDAP
-
- Package
trivial-ldap
- Methods
- Method: get-stream (LDAP ldap)
-
Open a usocket to the ldap server and set the ldap object’s slot.
If the port number is 636 or the SSLflag is not null, the stream
will be made with CL+SSL.
- Source
trivial-ldap.lisp (file)
- Generic Function: gss-context OBJECT
-
- Generic Function: (setf gss-context) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: gss-context (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf gss-context) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: handle-extended-response LDAP CONTENT
-
- Package
trivial-ldap
- Methods
- Method: handle-extended-response (LDAP ldap) CONTENT
-
Process an extended response.
Currently this means closing the connection if it is a disconnect request
and throw an error if it’s anything else.
- Source
trivial-ldap.lisp (file)
- Generic Function: incoming-buffer OBJECT
-
- Generic Function: (setf incoming-buffer) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: incoming-buffer (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf incoming-buffer) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: incoming-buffer-pos OBJECT
-
- Generic Function: (setf incoming-buffer-pos) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: incoming-buffer-pos (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf incoming-buffer-pos) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: ldapsock OBJECT
-
- Generic Function: (setf ldapsock) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: ldapsock (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf ldapsock) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: ldapstream OBJECT
-
- Generic Function: (setf ldapstream) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: ldapstream (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf ldapstream) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: mesg CONDITION
-
- Generic Function: (setf mesg) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: mesg (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: mesg (CONDITION ldap-error)
-
- Source
trivial-ldap.lisp (file)
- Method: (setf mesg) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: mesg-incf LDAP
-
- Package
trivial-ldap
- Methods
- Method: mesg-incf (LDAP ldap)
-
- Source
trivial-ldap.lisp (file)
- Generic Function: msg CONDITION
-
- Package
trivial-ldap
- Methods
- Method: msg (CONDITION ldap-response-error)
-
- Source
trivial-ldap.lisp (file)
- Generic Function: msg-abandon LDAP
-
- Package
trivial-ldap
- Methods
- Method: msg-abandon (LDAP ldap)
-
Return the sequence of bytes representing an abandon message
- Source
trivial-ldap.lisp (file)
- Generic Function: msg-add ENTRY
-
- Package
trivial-ldap
- Methods
- Method: msg-add (ENTRY entry)
-
Return the sequence of bytes representing an add message.
- Source
trivial-ldap.lisp (file)
- Generic Function: msg-bind LDAP
-
- Package
trivial-ldap
- Methods
- Method: msg-bind (LDAP ldap)
-
Return the sequence of bytes representing a bind message.
- Source
trivial-ldap.lisp (file)
- Generic Function: msg-unbind ()
-
- Package
trivial-ldap
- Methods
- Method: msg-unbind ()
-
- Source
trivial-ldap.lisp (file)
- Generic Function: paging-cookie OBJECT
-
- Generic Function: (setf paging-cookie) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: paging-cookie (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf paging-cookie) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: parse-ldap-message LDAP &optional RETURN-ENTRY
-
- Package
trivial-ldap
- Methods
- Method: parse-ldap-message (LDAP ldap) &optional RETURN-ENTRY
-
Parse an ldap object’s response slot.
- Source
trivial-ldap.lisp (file)
- Generic Function: peek-byte RESPONSE-VEC
-
- Package
trivial-ldap
- Methods
- Method: peek-byte (RESPONSE-VEC response-vec)
-
- Source
trivial-ldap.lisp (file)
- Generic Function: pop-byte RESPONSE-VEC
-
- Package
trivial-ldap
- Methods
- Method: pop-byte (RESPONSE-VEC response-vec)
-
- Source
trivial-ldap.lisp (file)
- Generic Function: possibly-reopen-and-rebind LDAP &optional ABSOLUTELY-NO-BIND
-
- Package
trivial-ldap
- Methods
- Method: possibly-reopen-and-rebind (LDAP ldap) &optional ABSOLUTELY-NO-BIND
-
Take appropriate reopen or rebind actions based on the reuse-connection attr.
If the attribute is nil, do nothing; if t, reopen; and, if bind, rebind.
This function exists to help the poor saps (read: me) with very fast idletimeout
settings on their LDAP servers.
- Source
trivial-ldap.lisp (file)
- Generic Function: probably-binary-field-error-key CONDITION
-
- Package
trivial-ldap
- Methods
- Method: probably-binary-field-error-key (CONDITION probably-binary-field-error)
-
- Source
trivial-ldap.lisp (file)
- Generic Function: process-message LDAP MESSAGE &key SUCCESS
-
- Package
trivial-ldap
- Methods
- Method: process-message (LDAP ldap) MESSAGE &key SUCCESS
-
Send a simple request to LDAP and return three values:
T or NIL, the LDAP response code (as a readable string), and any message
the directory server returned.
- Source
trivial-ldap.lisp (file)
- Generic Function: receive-message LDAP
-
- Package
trivial-ldap
- Methods
- Method: receive-message (LDAP ldap)
-
Read incoming LDAP data from the stream, populate LDAP response slot.
The initial tag and length of message bytes will have been consumed already
and will not appear in the response. Note that this method is executed
only for its side effects.
- Source
trivial-ldap.lisp (file)
- Generic Function: response-vec/ptr OBJECT
-
- Generic Function: (setf response-vec/ptr) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: response-vec/ptr (RESPONSE-VEC response-vec)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf response-vec/ptr) NEW-VALUE (RESPONSE-VEC response-vec)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: response-vec/vec OBJECT
-
- Generic Function: (setf response-vec/vec) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: response-vec/vec (RESPONSE-VEC response-vec)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf response-vec/vec) NEW-VALUE (RESPONSE-VEC response-vec)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: sasl OBJECT
-
- Generic Function: (setf sasl) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: sasl (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf sasl) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: search-fn OBJECT
-
- Generic Function: (setf search-fn) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: search-fn (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf search-fn) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: send-message LDAP MESSAGE &optional RESPONSE-EXPECTED
-
- Package
trivial-ldap
- Methods
- Method: send-message (LDAP ldap) MESSAGE &optional RESPONSE-EXPECTED
-
Send a BER encoded message to ldap.
- Source
trivial-ldap.lisp (file)
- Generic Function: timeout OBJECT
-
- Generic Function: (setf timeout) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: timeout (LDAP ldap)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf timeout) NEW-VALUE (LDAP ldap)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: url OBJECT
-
- Generic Function: (setf url) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: url (REFERRER referrer)
-
automatically generated reader method
- Source
trivial-ldap.lisp (file)
- Method: (setf url) NEW-VALUE (REFERRER referrer)
-
automatically generated writer method
- Source
trivial-ldap.lisp (file)
- Generic Function: wrap-packets OBJECT
-
- Generic Function: (setf wrap-packets) NEW-VALUE OBJECT
-
- Package
trivial-ldap
- Methods
- Method: wrap-packets (LDAP ldap)
-
- Method: (setf wrap-packets) NEW-VALUE (LDAP ldap)
-
NIL means no wrapping. :CONF
indicates encryption. Other values means plain wrapping.
- Source
trivial-ldap.lisp (file)
5.2.6 Classes
- Class: referrer ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
standard-object (class)
- Direct methods
- url (method)
- url (method)
- Direct slots
- Slot: url
-
- Type
string
- Initargs
:url
- Initform
(error "no url specified")
- Readers
url (generic function)
- Writers
(setf url) (generic function)
- Class: response-vec ()
-
- Package
trivial-ldap
- Source
trivial-ldap.lisp (file)
- Direct superclasses
standard-object (class)
- Direct methods
-
- Direct slots
- Slot: vec
-
- Initargs
:vec
- Readers
response-vec/vec (generic function)
- Writers
(setf response-vec/vec) (generic function)
- Slot: ptr
-
- Initform
0
- Readers
response-vec/ptr (generic function)
- Writers
(setf response-vec/ptr) (generic function)
Appendix A Indexes
A.1 Concepts
A.2 Functions
| Index Entry | | Section |
|
( | | |
| (setf attribute-binary-p) : | | Exported functions |
| (setf attrs) : | | Exported generic functions |
| (setf attrs) : | | Exported generic functions |
| (setf base) : | | Exported generic functions |
| (setf base) : | | Exported generic functions |
| (setf debugflag) : | | Exported generic functions |
| (setf debugflag) : | | Exported generic functions |
| (setf dn) : | | Exported generic functions |
| (setf dn) : | | Exported generic functions |
| (setf entry-buffer) : | | Internal generic functions |
| (setf entry-buffer) : | | Internal generic functions |
| (setf gss-context) : | | Internal generic functions |
| (setf gss-context) : | | Internal generic functions |
| (setf host) : | | Exported generic functions |
| (setf host) : | | Exported generic functions |
| (setf incoming-buffer) : | | Internal generic functions |
| (setf incoming-buffer) : | | Internal generic functions |
| (setf incoming-buffer-pos) : | | Internal generic functions |
| (setf incoming-buffer-pos) : | | Internal generic functions |
| (setf ldapsock) : | | Internal generic functions |
| (setf ldapsock) : | | Internal generic functions |
| (setf ldapstream) : | | Internal generic functions |
| (setf ldapstream) : | | Internal generic functions |
| (setf mesg) : | | Internal generic functions |
| (setf mesg) : | | Internal generic functions |
| (setf paging-cookie) : | | Internal generic functions |
| (setf paging-cookie) : | | Internal generic functions |
| (setf pass) : | | Exported generic functions |
| (setf pass) : | | Exported generic functions |
| (setf port) : | | Exported generic functions |
| (setf port) : | | Exported generic functions |
| (setf rdn) : | | Exported generic functions |
| (setf rdn) : | | Exported generic functions |
| (setf response) : | | Exported generic functions |
| (setf response) : | | Exported generic functions |
| (setf response-vec/ptr) : | | Internal generic functions |
| (setf response-vec/ptr) : | | Internal generic functions |
| (setf response-vec/vec) : | | Internal generic functions |
| (setf response-vec/vec) : | | Internal generic functions |
| (setf results-pending-p) : | | Exported generic functions |
| (setf results-pending-p) : | | Exported generic functions |
| (setf reuse-connection) : | | Exported generic functions |
| (setf reuse-connection) : | | Exported generic functions |
| (setf sasl) : | | Internal generic functions |
| (setf sasl) : | | Internal generic functions |
| (setf search-fn) : | | Internal generic functions |
| (setf search-fn) : | | Internal generic functions |
| (setf sslflag) : | | Exported generic functions |
| (setf sslflag) : | | Exported generic functions |
| (setf timeout) : | | Internal generic functions |
| (setf timeout) : | | Internal generic functions |
| (setf url) : | | Internal generic functions |
| (setf url) : | | Internal generic functions |
| (setf user) : | | Exported generic functions |
| (setf user) : | | Exported generic functions |
| (setf wrap-packets) : | | Internal generic functions |
| (setf wrap-packets) : | | Internal generic functions |
|
A | | |
| abandon : | | Exported generic functions |
| abandon : | | Exported generic functions |
| add : | | Exported generic functions |
| add : | | Exported generic functions |
| add : | | Exported generic functions |
| add-attr : | | Exported generic functions |
| add-attr : | | Exported generic functions |
| attr-list : | | Exported generic functions |
| attr-list : | | Exported generic functions |
| attr-value : | | Exported generic functions |
| attr-value : | | Exported generic functions |
| attr-value : | | Exported generic functions |
| attribute-binary-p : | | Exported functions |
| attrs : | | Exported generic functions |
| attrs : | | Exported generic functions |
| attrs-from-list : | | Internal functions |
|
B | | |
| base : | | Exported generic functions |
| base : | | Exported generic functions |
| base10->base256 : | | Internal functions |
| base256->base10 : | | Internal functions |
| base256-vec->base10 : | | Internal functions |
| ber-class-id : | | Internal functions |
| ber-length : | | Internal functions |
| ber-msg : | | Internal functions |
| ber-p/c-bit : | | Internal functions |
| ber-tag : | | Internal functions |
| ber-tag-type : | | Internal functions |
| bind : | | Exported generic functions |
| bind : | | Exported generic functions |
| bind-gss : | | Internal functions |
| bind-gss-spnego : | | Internal functions |
| bytes-remaining : | | Internal generic functions |
| bytes-remaining : | | Internal generic functions |
|
C | | |
| change-rdn : | | Exported generic functions |
| change-rdn : | | Exported generic functions |
| char-code-list->string : | | Internal functions |
| char-code-vec->string : | | Internal functions |
| check-message-number : | | Internal functions |
| close-stream : | | Internal generic functions |
| close-stream : | | Internal generic functions |
| code : | | Internal generic functions |
| code : | | Internal generic functions |
| code-sym : | | Internal generic functions |
| code-sym : | | Internal generic functions |
| compare : | | Exported generic functions |
| compare : | | Exported generic functions |
| compare : | | Exported generic functions |
| compare : | | Exported generic functions |
| copy-response-vec : | | Internal functions |
| create-sasl-message : | | Internal functions |
|
D | | |
| debug-mesg : | | Internal macros |
| debugflag : | | Exported generic functions |
| debugflag : | | Exported generic functions |
| decrypt-stream : | | Internal functions |
| define-constant : | | Internal macros |
| del-attr : | | Exported generic functions |
| del-attr : | | Exported generic functions |
| delete : | | Exported generic functions |
| delete : | | Exported generic functions |
| delete : | | Exported generic functions |
| delete : | | Exported generic functions |
| discard-bytes : | | Internal generic functions |
| discard-bytes : | | Internal generic functions |
| dn : | | Exported generic functions |
| dn : | | Exported generic functions |
| dn : | | Exported generic functions |
| dn : | | Exported generic functions |
| dosearch : | | Exported macros |
|
E | | |
| encrypt-message : | | Internal functions |
| entry-buffer : | | Internal generic functions |
| entry-buffer : | | Internal generic functions |
| escape-string : | | Exported functions |
|
F | | |
| filter : | | Internal generic functions |
| filter : | | Internal generic functions |
| Function, (setf attribute-binary-p) : | | Exported functions |
| Function, attribute-binary-p : | | Exported functions |
| Function, attrs-from-list : | | Internal functions |
| Function, base10->base256 : | | Internal functions |
| Function, base256->base10 : | | Internal functions |
| Function, base256-vec->base10 : | | Internal functions |
| Function, ber-class-id : | | Internal functions |
| Function, ber-length : | | Internal functions |
| Function, ber-msg : | | Internal functions |
| Function, ber-p/c-bit : | | Internal functions |
| Function, ber-tag : | | Internal functions |
| Function, ber-tag-type : | | Internal functions |
| Function, bind-gss : | | Internal functions |
| Function, bind-gss-spnego : | | Internal functions |
| Function, char-code-list->string : | | Internal functions |
| Function, char-code-vec->string : | | Internal functions |
| Function, check-message-number : | | Internal functions |
| Function, copy-response-vec : | | Internal functions |
| Function, create-sasl-message : | | Internal functions |
| Function, decrypt-stream : | | Internal functions |
| Function, encrypt-message : | | Internal functions |
| Function, escape-string : | | Exported functions |
| Function, int->octet-list : | | Internal functions |
| Function, ldap-command : | | Internal functions |
| Function, ldap-command-sym : | | Internal functions |
| Function, ldap-deref : | | Internal functions |
| Function, ldap-filter-comparison-char : | | Internal functions |
| Function, ldap-filter-lexer : | | Internal functions |
| Function, ldap-modify-type : | | Internal functions |
| Function, ldap-result-code-string : | | Internal functions |
| Function, ldap-result-code-symbol : | | Internal functions |
| Function, ldap-scope : | | Internal functions |
| Function, ldap-substring : | | Internal functions |
| Function, list-entries-to-string : | | Internal functions |
| Function, listify-filter : | | Exported functions |
| Function, make-response-vec : | | Internal functions |
| Function, msg-compare : | | Internal functions |
| Function, msg-delete : | | Internal functions |
| Function, msg-moddn : | | Internal functions |
| Function, msg-modify : | | Internal functions |
| Function, msg-search : | | Internal functions |
| Function, new-entry : | | Exported functions |
| Function, new-entry-from-list : | | Exported functions |
| Function, new-ldap : | | Exported functions |
| Function, new-referrer : | | Internal functions |
| Function, octet-list->int : | | Internal functions |
| Function, octet-vec->int : | | Internal functions |
| Function, process-response-controls : | | Internal functions |
| Function, rdn-from-dn : | | Internal functions |
| Function, read-app-number : | | Internal functions |
| Function, read-controls : | | Internal functions |
| Function, read-decoder : | | Internal functions |
| Function, read-generic : | | Internal functions |
| Function, read-integer : | | Internal functions |
| Function, read-length : | | Internal functions |
| Function, read-message-number : | | Internal functions |
| Function, read-octets : | | Internal functions |
| Function, read-string : | | Internal functions |
| Function, read-with-length : | | Internal functions |
| Function, read-wrapped-byte : | | Internal functions |
| Function, receive-length : | | Internal functions |
| Function, send-sasl : | | Internal functions |
| Function, send-sasl-auth-res : | | Internal functions |
| Function, seq-att-and-values : | | Internal functions |
| Function, seq-attribute-alist : | | Internal functions |
| Function, seq-attribute-assertion : | | Internal functions |
| Function, seq-attribute-list : | | Internal functions |
| Function, seq-attribute-value-assertion : | | Internal functions |
| Function, seq-boolean : | | Internal functions |
| Function, seq-constructed-choice : | | Internal functions |
| Function, seq-enumerated : | | Internal functions |
| Function, seq-filter : | | Internal functions |
| Function, seq-integer : | | Internal functions |
| Function, seq-null : | | Internal functions |
| Function, seq-octet-string : | | Internal functions |
| Function, seq-primitive-choice : | | Internal functions |
| Function, seq-primitive-string : | | Internal functions |
| Function, seq-sequence : | | Internal functions |
| Function, seq-set : | | Internal functions |
| Function, seq-substrings : | | Internal functions |
| Function, split-substring : | | Internal functions |
| Function, string->char-code-list : | | Internal functions |
| Function, unescape-string : | | Exported functions |
| Function, valid-ldap-response-p : | | Internal functions |
| Function, write-with-length : | | Internal functions |
|
G | | |
| Generic Function, (setf attrs) : | | Exported generic functions |
| Generic Function, (setf base) : | | Exported generic functions |
| Generic Function, (setf debugflag) : | | Exported generic functions |
| Generic Function, (setf dn) : | | Exported generic functions |
| Generic Function, (setf entry-buffer) : | | Internal generic functions |
| Generic Function, (setf gss-context) : | | Internal generic functions |
| Generic Function, (setf host) : | | Exported generic functions |
| Generic Function, (setf incoming-buffer) : | | Internal generic functions |
| Generic Function, (setf incoming-buffer-pos) : | | Internal generic functions |
| Generic Function, (setf ldapsock) : | | Internal generic functions |
| Generic Function, (setf ldapstream) : | | Internal generic functions |
| Generic Function, (setf mesg) : | | Internal generic functions |
| Generic Function, (setf paging-cookie) : | | Internal generic functions |
| Generic Function, (setf pass) : | | Exported generic functions |
| Generic Function, (setf port) : | | Exported generic functions |
| Generic Function, (setf rdn) : | | Exported generic functions |
| Generic Function, (setf response) : | | Exported generic functions |
| Generic Function, (setf response-vec/ptr) : | | Internal generic functions |
| Generic Function, (setf response-vec/vec) : | | Internal generic functions |
| Generic Function, (setf results-pending-p) : | | Exported generic functions |
| Generic Function, (setf reuse-connection) : | | Exported generic functions |
| Generic Function, (setf sasl) : | | Internal generic functions |
| Generic Function, (setf search-fn) : | | Internal generic functions |
| Generic Function, (setf sslflag) : | | Exported generic functions |
| Generic Function, (setf timeout) : | | Internal generic functions |
| Generic Function, (setf url) : | | Internal generic functions |
| Generic Function, (setf user) : | | Exported generic functions |
| Generic Function, (setf wrap-packets) : | | Internal generic functions |
| Generic Function, abandon : | | Exported generic functions |
| Generic Function, add : | | Exported generic functions |
| Generic Function, add-attr : | | Exported generic functions |
| Generic Function, attr-list : | | Exported generic functions |
| Generic Function, attr-value : | | Exported generic functions |
| Generic Function, attrs : | | Exported generic functions |
| Generic Function, base : | | Exported generic functions |
| Generic Function, bind : | | Exported generic functions |
| Generic Function, bytes-remaining : | | Internal generic functions |
| Generic Function, change-rdn : | | Exported generic functions |
| Generic Function, close-stream : | | Internal generic functions |
| Generic Function, code : | | Internal generic functions |
| Generic Function, code-sym : | | Internal generic functions |
| Generic Function, compare : | | Exported generic functions |
| Generic Function, debugflag : | | Exported generic functions |
| Generic Function, del-attr : | | Exported generic functions |
| Generic Function, delete : | | Exported generic functions |
| Generic Function, discard-bytes : | | Internal generic functions |
| Generic Function, dn : | | Exported generic functions |
| Generic Function, entry-buffer : | | Internal generic functions |
| Generic Function, filter : | | Internal generic functions |
| Generic Function, get-stream : | | Internal generic functions |
| Generic Function, gss-context : | | Internal generic functions |
| Generic Function, handle-extended-response : | | Internal generic functions |
| Generic Function, host : | | Exported generic functions |
| Generic Function, incoming-buffer : | | Internal generic functions |
| Generic Function, incoming-buffer-pos : | | Internal generic functions |
| Generic Function, ldapsock : | | Internal generic functions |
| Generic Function, ldapstream : | | Internal generic functions |
| Generic Function, ldif : | | Exported generic functions |
| Generic Function, mesg : | | Internal generic functions |
| Generic Function, mesg-incf : | | Internal generic functions |
| Generic Function, moddn : | | Exported generic functions |
| Generic Function, modify : | | Exported generic functions |
| Generic Function, msg : | | Internal generic functions |
| Generic Function, msg-abandon : | | Internal generic functions |
| Generic Function, msg-add : | | Internal generic functions |
| Generic Function, msg-bind : | | Internal generic functions |
| Generic Function, msg-unbind : | | Internal generic functions |
| Generic Function, next-search-result : | | Exported generic functions |
| Generic Function, paging-cookie : | | Internal generic functions |
| Generic Function, parse-ldap-message : | | Internal generic functions |
| Generic Function, pass : | | Exported generic functions |
| Generic Function, peek-byte : | | Internal generic functions |
| Generic Function, pop-byte : | | Internal generic functions |
| Generic Function, port : | | Exported generic functions |
| Generic Function, possibly-reopen-and-rebind : | | Internal generic functions |
| Generic Function, probably-binary-field-error-key : | | Internal generic functions |
| Generic Function, process-message : | | Internal generic functions |
| Generic Function, rdn : | | Exported generic functions |
| Generic Function, receive-message : | | Internal generic functions |
| Generic Function, replace-attr : | | Exported generic functions |
| Generic Function, response : | | Exported generic functions |
| Generic Function, response-vec/ptr : | | Internal generic functions |
| Generic Function, response-vec/vec : | | Internal generic functions |
| Generic Function, results-pending-p : | | Exported generic functions |
| Generic Function, reuse-connection : | | Exported generic functions |
| Generic Function, sasl : | | Internal generic functions |
| Generic Function, search : | | Exported generic functions |
| Generic Function, search-fn : | | Internal generic functions |
| Generic Function, send-message : | | Internal generic functions |
| Generic Function, sslflag : | | Exported generic functions |
| Generic Function, timeout : | | Internal generic functions |
| Generic Function, unbind : | | Exported generic functions |
| Generic Function, url : | | Internal generic functions |
| Generic Function, user : | | Exported generic functions |
| Generic Function, wrap-packets : | | Internal generic functions |
| get-stream : | | Internal generic functions |
| get-stream : | | Internal generic functions |
| gss-context : | | Internal generic functions |
| gss-context : | | Internal generic functions |
|
H | | |
| handle-extended-response : | | Internal generic functions |
| handle-extended-response : | | Internal generic functions |
| host : | | Exported generic functions |
| host : | | Exported generic functions |
| host : | | Exported generic functions |
|
I | | |
| incoming-buffer : | | Internal generic functions |
| incoming-buffer : | | Internal generic functions |
| incoming-buffer-pos : | | Internal generic functions |
| incoming-buffer-pos : | | Internal generic functions |
| int->octet-list : | | Internal functions |
|
L | | |
| ldap-command : | | Internal functions |
| ldap-command-sym : | | Internal functions |
| ldap-deref : | | Internal functions |
| ldap-filter-comparison-char : | | Internal functions |
| ldap-filter-lexer : | | Internal functions |
| ldap-modify-type : | | Internal functions |
| ldap-result-code-string : | | Internal functions |
| ldap-result-code-symbol : | | Internal functions |
| ldap-scope : | | Internal functions |
| ldap-substring : | | Internal functions |
| ldapsock : | | Internal generic functions |
| ldapsock : | | Internal generic functions |
| ldapstream : | | Internal generic functions |
| ldapstream : | | Internal generic functions |
| ldif : | | Exported generic functions |
| ldif : | | Exported generic functions |
| ldif-search : | | Exported macros |
| list-entries-to-string : | | Internal functions |
| listify-filter : | | Exported functions |
|
M | | |
| Macro, debug-mesg : | | Internal macros |
| Macro, define-constant : | | Internal macros |
| Macro, dosearch : | | Exported macros |
| Macro, ldif-search : | | Exported macros |
| make-response-vec : | | Internal functions |
| mesg : | | Internal generic functions |
| mesg : | | Internal generic functions |
| mesg : | | Internal generic functions |
| mesg-incf : | | Internal generic functions |
| mesg-incf : | | Internal generic functions |
| Method, (setf attrs) : | | Exported generic functions |
| Method, (setf base) : | | Exported generic functions |
| Method, (setf debugflag) : | | Exported generic functions |
| Method, (setf dn) : | | Exported generic functions |
| Method, (setf entry-buffer) : | | Internal generic functions |
| Method, (setf gss-context) : | | Internal generic functions |
| Method, (setf host) : | | Exported generic functions |
| Method, (setf incoming-buffer) : | | Internal generic functions |
| Method, (setf incoming-buffer-pos) : | | Internal generic functions |
| Method, (setf ldapsock) : | | Internal generic functions |
| Method, (setf ldapstream) : | | Internal generic functions |
| Method, (setf mesg) : | | Internal generic functions |
| Method, (setf paging-cookie) : | | Internal generic functions |
| Method, (setf pass) : | | Exported generic functions |
| Method, (setf port) : | | Exported generic functions |
| Method, (setf rdn) : | | Exported generic functions |
| Method, (setf response) : | | Exported generic functions |
| Method, (setf response-vec/ptr) : | | Internal generic functions |
| Method, (setf response-vec/vec) : | | Internal generic functions |
| Method, (setf results-pending-p) : | | Exported generic functions |
| Method, (setf reuse-connection) : | | Exported generic functions |
| Method, (setf sasl) : | | Internal generic functions |
| Method, (setf search-fn) : | | Internal generic functions |
| Method, (setf sslflag) : | | Exported generic functions |
| Method, (setf timeout) : | | Internal generic functions |
| Method, (setf url) : | | Internal generic functions |
| Method, (setf user) : | | Exported generic functions |
| Method, (setf wrap-packets) : | | Internal generic functions |
| Method, abandon : | | Exported generic functions |
| Method, add : | | Exported generic functions |
| Method, add : | | Exported generic functions |
| Method, add-attr : | | Exported generic functions |
| Method, attr-list : | | Exported generic functions |
| Method, attr-value : | | Exported generic functions |
| Method, attr-value : | | Exported generic functions |
| Method, attrs : | | Exported generic functions |
| Method, base : | | Exported generic functions |
| Method, bind : | | Exported generic functions |
| Method, bytes-remaining : | | Internal generic functions |
| Method, change-rdn : | | Exported generic functions |
| Method, close-stream : | | Internal generic functions |
| Method, code : | | Internal generic functions |
| Method, code-sym : | | Internal generic functions |
| Method, compare : | | Exported generic functions |
| Method, compare : | | Exported generic functions |
| Method, compare : | | Exported generic functions |
| Method, debugflag : | | Exported generic functions |
| Method, del-attr : | | Exported generic functions |
| Method, delete : | | Exported generic functions |
| Method, delete : | | Exported generic functions |
| Method, delete : | | Exported generic functions |
| Method, discard-bytes : | | Internal generic functions |
| Method, dn : | | Exported generic functions |
| Method, dn : | | Exported generic functions |
| Method, dn : | | Exported generic functions |
| Method, entry-buffer : | | Internal generic functions |
| Method, filter : | | Internal generic functions |
| Method, get-stream : | | Internal generic functions |
| Method, gss-context : | | Internal generic functions |
| Method, handle-extended-response : | | Internal generic functions |
| Method, host : | | Exported generic functions |
| Method, host : | | Exported generic functions |
| Method, incoming-buffer : | | Internal generic functions |
| Method, incoming-buffer-pos : | | Internal generic functions |
| Method, ldapsock : | | Internal generic functions |
| Method, ldapstream : | | Internal generic functions |
| Method, ldif : | | Exported generic functions |
| Method, mesg : | | Internal generic functions |
| Method, mesg : | | Internal generic functions |
| Method, mesg-incf : | | Internal generic functions |
| Method, moddn : | | Exported generic functions |
| Method, moddn : | | Exported generic functions |
| Method, moddn : | | Exported generic functions |
| Method, modify : | | Exported generic functions |
| Method, modify : | | Exported generic functions |
| Method, msg : | | Internal generic functions |
| Method, msg-abandon : | | Internal generic functions |
| Method, msg-add : | | Internal generic functions |
| Method, msg-bind : | | Internal generic functions |
| Method, msg-unbind : | | Internal generic functions |
| Method, next-search-result : | | Exported generic functions |
| Method, paging-cookie : | | Internal generic functions |
| Method, parse-ldap-message : | | Internal generic functions |
| Method, pass : | | Exported generic functions |
| Method, peek-byte : | | Internal generic functions |
| Method, pop-byte : | | Internal generic functions |
| Method, port : | | Exported generic functions |
| Method, port : | | Exported generic functions |
| Method, possibly-reopen-and-rebind : | | Internal generic functions |
| Method, probably-binary-field-error-key : | | Internal generic functions |
| Method, process-message : | | Internal generic functions |
| Method, rdn : | | Exported generic functions |
| Method, receive-message : | | Internal generic functions |
| Method, replace-attr : | | Exported generic functions |
| Method, response : | | Exported generic functions |
| Method, response-vec/ptr : | | Internal generic functions |
| Method, response-vec/vec : | | Internal generic functions |
| Method, results-pending-p : | | Exported generic functions |
| Method, reuse-connection : | | Exported generic functions |
| Method, sasl : | | Internal generic functions |
| Method, search : | | Exported generic functions |
| Method, search-fn : | | Internal generic functions |
| Method, send-message : | | Internal generic functions |
| Method, sslflag : | | Exported generic functions |
| Method, timeout : | | Internal generic functions |
| Method, unbind : | | Exported generic functions |
| Method, url : | | Internal generic functions |
| Method, user : | | Exported generic functions |
| Method, wrap-packets : | | Internal generic functions |
| moddn : | | Exported generic functions |
| moddn : | | Exported generic functions |
| moddn : | | Exported generic functions |
| moddn : | | Exported generic functions |
| modify : | | Exported generic functions |
| modify : | | Exported generic functions |
| modify : | | Exported generic functions |
| msg : | | Internal generic functions |
| msg : | | Internal generic functions |
| msg-abandon : | | Internal generic functions |
| msg-abandon : | | Internal generic functions |
| msg-add : | | Internal generic functions |
| msg-add : | | Internal generic functions |
| msg-bind : | | Internal generic functions |
| msg-bind : | | Internal generic functions |
| msg-compare : | | Internal functions |
| msg-delete : | | Internal functions |
| msg-moddn : | | Internal functions |
| msg-modify : | | Internal functions |
| msg-search : | | Internal functions |
| msg-unbind : | | Internal generic functions |
| msg-unbind : | | Internal generic functions |
|
N | | |
| new-entry : | | Exported functions |
| new-entry-from-list : | | Exported functions |
| new-ldap : | | Exported functions |
| new-referrer : | | Internal functions |
| next-search-result : | | Exported generic functions |
| next-search-result : | | Exported generic functions |
|
O | | |
| octet-list->int : | | Internal functions |
| octet-vec->int : | | Internal functions |
|
P | | |
| paging-cookie : | | Internal generic functions |
| paging-cookie : | | Internal generic functions |
| parse-ldap-message : | | Internal generic functions |
| parse-ldap-message : | | Internal generic functions |
| pass : | | Exported generic functions |
| pass : | | Exported generic functions |
| peek-byte : | | Internal generic functions |
| peek-byte : | | Internal generic functions |
| pop-byte : | | Internal generic functions |
| pop-byte : | | Internal generic functions |
| port : | | Exported generic functions |
| port : | | Exported generic functions |
| port : | | Exported generic functions |
| possibly-reopen-and-rebind : | | Internal generic functions |
| possibly-reopen-and-rebind : | | Internal generic functions |
| probably-binary-field-error-key : | | Internal generic functions |
| probably-binary-field-error-key : | | Internal generic functions |
| process-message : | | Internal generic functions |
| process-message : | | Internal generic functions |
| process-response-controls : | | Internal functions |
|
R | | |
| rdn : | | Exported generic functions |
| rdn : | | Exported generic functions |
| rdn-from-dn : | | Internal functions |
| read-app-number : | | Internal functions |
| read-controls : | | Internal functions |
| read-decoder : | | Internal functions |
| read-generic : | | Internal functions |
| read-integer : | | Internal functions |
| read-length : | | Internal functions |
| read-message-number : | | Internal functions |
| read-octets : | | Internal functions |
| read-string : | | Internal functions |
| read-with-length : | | Internal functions |
| read-wrapped-byte : | | Internal functions |
| receive-length : | | Internal functions |
| receive-message : | | Internal generic functions |
| receive-message : | | Internal generic functions |
| replace-attr : | | Exported generic functions |
| replace-attr : | | Exported generic functions |
| response : | | Exported generic functions |
| response : | | Exported generic functions |
| response-vec/ptr : | | Internal generic functions |
| response-vec/ptr : | | Internal generic functions |
| response-vec/vec : | | Internal generic functions |
| response-vec/vec : | | Internal generic functions |
| results-pending-p : | | Exported generic functions |
| results-pending-p : | | Exported generic functions |
| reuse-connection : | | Exported generic functions |
| reuse-connection : | | Exported generic functions |
|
S | | |
| sasl : | | Internal generic functions |
| sasl : | | Internal generic functions |
| search : | | Exported generic functions |
| search : | | Exported generic functions |
| search-fn : | | Internal generic functions |
| search-fn : | | Internal generic functions |
| send-message : | | Internal generic functions |
| send-message : | | Internal generic functions |
| send-sasl : | | Internal functions |
| send-sasl-auth-res : | | Internal functions |
| seq-att-and-values : | | Internal functions |
| seq-attribute-alist : | | Internal functions |
| seq-attribute-assertion : | | Internal functions |
| seq-attribute-list : | | Internal functions |
| seq-attribute-value-assertion : | | Internal functions |
| seq-boolean : | | Internal functions |
| seq-constructed-choice : | | Internal functions |
| seq-enumerated : | | Internal functions |
| seq-filter : | | Internal functions |
| seq-integer : | | Internal functions |
| seq-null : | | Internal functions |
| seq-octet-string : | | Internal functions |
| seq-primitive-choice : | | Internal functions |
| seq-primitive-string : | | Internal functions |
| seq-sequence : | | Internal functions |
| seq-set : | | Internal functions |
| seq-substrings : | | Internal functions |
| split-substring : | | Internal functions |
| sslflag : | | Exported generic functions |
| sslflag : | | Exported generic functions |
| string->char-code-list : | | Internal functions |
|
T | | |
| timeout : | | Internal generic functions |
| timeout : | | Internal generic functions |
|
U | | |
| unbind : | | Exported generic functions |
| unbind : | | Exported generic functions |
| unescape-string : | | Exported functions |
| url : | | Internal generic functions |
| url : | | Internal generic functions |
| user : | | Exported generic functions |
| user : | | Exported generic functions |
|
V | | |
| valid-ldap-response-p : | | Internal functions |
|
W | | |
| wrap-packets : | | Internal generic functions |
| wrap-packets : | | Internal generic functions |
| write-with-length : | | Internal functions |
|
A.3 Variables
| Index Entry | | Section |
|
* | | |
| *binary-attributes* : | | Internal special variables |
| *hex-print* : | | Internal special variables |
| *init-sec-fn* : | | Internal special variables |
| *ldap-filter-parser* : | | Internal special variables |
| *unwrap-fn* : | | Internal special variables |
| *wrap-fn* : | | Internal special variables |
|
+ | | |
| +ber-abandon-tag+ : | | Internal constants |
| +ber-add-tag+ : | | Internal constants |
| +ber-app-const-base+ : | | Internal constants |
| +ber-bind-tag+ : | | Internal constants |
| +ber-class-id+ : | | Internal constants |
| +ber-comp-tag+ : | | Internal constants |
| +ber-controls-tag+ : | | Internal constants |
| +ber-del-tag+ : | | Internal constants |
| +ber-long-length-marker+ : | | Internal constants |
| +ber-moddn-tag+ : | | Internal constants |
| +ber-modify-tag+ : | | Internal constants |
| +ber-multibyte-tag-number+ : | | Internal constants |
| +ber-p/c-bit+ : | | Internal constants |
| +ber-search-tag+ : | | Internal constants |
| +ber-tag-bool+ : | | Internal constants |
| +ber-tag-controls+ : | | Internal constants |
| +ber-tag-enum+ : | | Internal constants |
| +ber-tag-ext-name+ : | | Internal constants |
| +ber-tag-ext-val+ : | | Internal constants |
| +ber-tag-extendedresponse+ : | | Internal constants |
| +ber-tag-int+ : | | Internal constants |
| +ber-tag-referral+ : | | Internal constants |
| +ber-tag-sasl-res-creds+ : | | Internal constants |
| +ber-tag-seq+ : | | Internal constants |
| +ber-tag-set+ : | | Internal constants |
| +ber-tag-str+ : | | Internal constants |
| +ber-unbind-tag+ : | | Internal constants |
| +ldap-application-names+ : | | Internal constants |
| +ldap-control-extension-paging+ : | | Internal constants |
| +ldap-deref+ : | | Internal constants |
| +ldap-disconnection-response+ : | | Internal constants |
| +ldap-filter-comparison-char+ : | | Internal constants |
| +ldap-modify-type+ : | | Internal constants |
| +ldap-port-no-ssl+ : | | Internal constants |
| +ldap-port-ssl+ : | | Internal constants |
| +ldap-result-codes+ : | | Internal constants |
| +ldap-scope+ : | | Internal constants |
| +ldap-substring+ : | | Internal constants |
| +ldap-version+ : | | Internal constants |
| +max-int+ : | | Internal constants |
|
A | | |
| attrs : | | Exported classes |
|
B | | |
| base : | | Exported classes |
|
C | | |
| code : | | Exported conditions |
| code-sym : | | Exported conditions |
| Constant, +ber-abandon-tag+ : | | Internal constants |
| Constant, +ber-add-tag+ : | | Internal constants |
| Constant, +ber-app-const-base+ : | | Internal constants |
| Constant, +ber-bind-tag+ : | | Internal constants |
| Constant, +ber-class-id+ : | | Internal constants |
| Constant, +ber-comp-tag+ : | | Internal constants |
| Constant, +ber-controls-tag+ : | | Internal constants |
| Constant, +ber-del-tag+ : | | Internal constants |
| Constant, +ber-long-length-marker+ : | | Internal constants |
| Constant, +ber-moddn-tag+ : | | Internal constants |
| Constant, +ber-modify-tag+ : | | Internal constants |
| Constant, +ber-multibyte-tag-number+ : | | Internal constants |
| Constant, +ber-p/c-bit+ : | | Internal constants |
| Constant, +ber-search-tag+ : | | Internal constants |
| Constant, +ber-tag-bool+ : | | Internal constants |
| Constant, +ber-tag-controls+ : | | Internal constants |
| Constant, +ber-tag-enum+ : | | Internal constants |
| Constant, +ber-tag-ext-name+ : | | Internal constants |
| Constant, +ber-tag-ext-val+ : | | Internal constants |
| Constant, +ber-tag-extendedresponse+ : | | Internal constants |
| Constant, +ber-tag-int+ : | | Internal constants |
| Constant, +ber-tag-referral+ : | | Internal constants |
| Constant, +ber-tag-sasl-res-creds+ : | | Internal constants |
| Constant, +ber-tag-seq+ : | | Internal constants |
| Constant, +ber-tag-set+ : | | Internal constants |
| Constant, +ber-tag-str+ : | | Internal constants |
| Constant, +ber-unbind-tag+ : | | Internal constants |
| Constant, +ldap-application-names+ : | | Internal constants |
| Constant, +ldap-control-extension-paging+ : | | Internal constants |
| Constant, +ldap-deref+ : | | Internal constants |
| Constant, +ldap-disconnection-response+ : | | Internal constants |
| Constant, +ldap-filter-comparison-char+ : | | Internal constants |
| Constant, +ldap-modify-type+ : | | Internal constants |
| Constant, +ldap-port-no-ssl+ : | | Internal constants |
| Constant, +ldap-port-ssl+ : | | Internal constants |
| Constant, +ldap-result-codes+ : | | Internal constants |
| Constant, +ldap-scope+ : | | Internal constants |
| Constant, +ldap-substring+ : | | Internal constants |
| Constant, +ldap-version+ : | | Internal constants |
| Constant, +max-int+ : | | Internal constants |
|
D | | |
| debugflag : | | Exported classes |
| dn : | | Exported conditions |
| dn : | | Exported classes |
|
E | | |
| entry-buffer : | | Exported classes |
|
F | | |
| filter : | | Exported conditions |
|
G | | |
| gss-context : | | Exported classes |
|
H | | |
| host : | | Exported conditions |
| host : | | Exported classes |
|
I | | |
| incoming-buffer : | | Exported classes |
| incoming-buffer-pos : | | Exported classes |
|
K | | |
| key : | | Exported conditions |
|
L | | |
| ldapsock : | | Exported classes |
| ldapstream : | | Exported classes |
|
M | | |
| mesg : | | Exported classes |
| msg : | | Exported conditions |
|
N | | |
| note : | | Exported conditions |
|
P | | |
| paging-cookie : | | Exported classes |
| pass : | | Exported classes |
| port : | | Exported conditions |
| port : | | Exported classes |
| ptr : | | Internal classes |
|
R | | |
| rdn : | | Exported classes |
| response : | | Exported classes |
| results-pending-p : | | Exported classes |
| reuse-connection : | | Exported classes |
|
S | | |
| sasl : | | Exported classes |
| search-fn : | | Exported classes |
| Slot, attrs : | | Exported classes |
| Slot, base : | | Exported classes |
| Slot, code : | | Exported conditions |
| Slot, code-sym : | | Exported conditions |
| Slot, debugflag : | | Exported classes |
| Slot, dn : | | Exported conditions |
| Slot, dn : | | Exported classes |
| Slot, entry-buffer : | | Exported classes |
| Slot, filter : | | Exported conditions |
| Slot, gss-context : | | Exported classes |
| Slot, host : | | Exported conditions |
| Slot, host : | | Exported classes |
| Slot, incoming-buffer : | | Exported classes |
| Slot, incoming-buffer-pos : | | Exported classes |
| Slot, key : | | Exported conditions |
| Slot, ldapsock : | | Exported classes |
| Slot, ldapstream : | | Exported classes |
| Slot, mesg : | | Exported classes |
| Slot, msg : | | Exported conditions |
| Slot, note : | | Exported conditions |
| Slot, paging-cookie : | | Exported classes |
| Slot, pass : | | Exported classes |
| Slot, port : | | Exported conditions |
| Slot, port : | | Exported classes |
| Slot, ptr : | | Internal classes |
| Slot, rdn : | | Exported classes |
| Slot, response : | | Exported classes |
| Slot, results-pending-p : | | Exported classes |
| Slot, reuse-connection : | | Exported classes |
| Slot, sasl : | | Exported classes |
| Slot, search-fn : | | Exported classes |
| Slot, sslflag : | | Exported classes |
| Slot, timeout : | | Exported classes |
| Slot, url : | | Internal classes |
| Slot, user : | | Exported classes |
| Slot, vec : | | Internal classes |
| Slot, wrap-packets : | | Exported classes |
| Special Variable, *binary-attributes* : | | Internal special variables |
| Special Variable, *hex-print* : | | Internal special variables |
| Special Variable, *init-sec-fn* : | | Internal special variables |
| Special Variable, *ldap-filter-parser* : | | Internal special variables |
| Special Variable, *unwrap-fn* : | | Internal special variables |
| Special Variable, *wrap-fn* : | | Internal special variables |
| sslflag : | | Exported classes |
|
T | | |
| timeout : | | Exported classes |
|
U | | |
| url : | | Internal classes |
| user : | | Exported classes |
|
V | | |
| vec : | | Internal classes |
|
W | | |
| wrap-packets : | | Exported classes |
|
A.4 Data types
| Index Entry | | Section |
|
C | | |
| Class, entry : | | Exported classes |
| Class, ldap : | | Exported classes |
| Class, referrer : | | Internal classes |
| Class, response-vec : | | Internal classes |
| Condition, ldap-bind-error : | | Exported conditions |
| Condition, ldap-connection-error : | | Exported conditions |
| Condition, ldap-error : | | Exported conditions |
| Condition, ldap-filter-error : | | Exported conditions |
| Condition, ldap-referral-error : | | Exported conditions |
| Condition, ldap-response-error : | | Exported conditions |
| Condition, ldap-size-limit-exceeded-error : | | Exported conditions |
| Condition, probably-binary-field-error : | | Exported conditions |
|
E | | |
| entry : | | Exported classes |
|
L | | |
| ldap : | | Exported classes |
| ldap-bind-error : | | Exported conditions |
| ldap-connection-error : | | Exported conditions |
| ldap-error : | | Exported conditions |
| ldap-filter-error : | | Exported conditions |
| ldap-referral-error : | | Exported conditions |
| ldap-response-error : | | Exported conditions |
| ldap-size-limit-exceeded-error : | | Exported conditions |
|
P | | |
| Package, trivial-ldap : | | The trivial-ldap package |
| probably-binary-field-error : | | Exported conditions |
|
R | | |
| referrer : | | Internal classes |
| response-vec : | | Internal classes |
|
S | | |
| System, trivial-ldap : | | The trivial-ldap system |
|
T | | |
| trivial-ldap : | | The trivial-ldap system |
| trivial-ldap : | | The trivial-ldap package |
|