Crate rasn_ldap

source ·
Expand description

§Lightweight Directory Access Protocol V3 (LDAPv3)

rasn-ldap is an implementation of the data types defined in IETF RFC 4511 also known LDAPv3.

This does not provide an implementation of a client or server, but provides a shared implementation to build your own clients and servers.

Structs§

  • Allows a client to request that the server abandon an uncompleted operation.
  • Allows a client to request the addition of LDAP an entry into the directory.
  • The result of a AddRequest operation.
  • Allow authentication information to be exchanged between the client and server.
  • An indication from the server of the status of the client’s request for authentication.
  • Allows a client to compare an assertion value with the values of a particular attribute in a particular entry in the directory.
  • The result of a CompareResponse operation.
  • Allows a client to request the removal of an LDAP entry from the directory.
  • The result of a DelRequest operation.
  • Allows additional operations to be defined for services not already available in the protocol.
  • The result of a CompareResponse operation.
  • Provides a general mechanism for defining single-request/multiple-response operations in LDAP.
  • The envelope for all LDAP operations.
  • The envelope for the result of any operation.
  • A notational convenience to indicate that, for LdapString, the ISO10646 character set (a superset of Unicode) is being used, encoded following the UTF-8 RFC3629 algorithm. We can use Rust String type to represent this type, see https://github.com/librasn/rasn/issues/304 and https://www.unicode.org/faq/unicode_iso.html
  • Extensible match rule assertion.
  • Allows a client to change the Relative Distinguished Name (RDN) of an LDAP entry in the directory and/or to move a subtree of entries to a new location in the directory.
  • The result of a ModifyDnRequest operation.
  • Allows a client to request that a modification of an entry be performed on its behalf by a server.
  • Modifications to be performed on an LDAP entry.
  • The result of a ModifyRequest operation.
  • Used to request a server to return, subject to access controls and other restrictions, a set of entries matching a complex search criterion. This can be used to read attributes from a single entry, from entries immediately subordinate to a particular entry, or from a whole subtree of entries.
  • The result of a search operation.
  • An entry found during the search.
  • Reference of servers containing the data required to continue the search.
  • The SUBSTR matching rule for the attribute type or subtype.
  • Request to terminate an LDAP session.

Enums§

Type Aliases§

  • The value to compare in the assertion. The syntax of the AssertionValue depends on the context of the LDAP operation being performed.
  • An attribute type and zero or more options.
  • An encoded attribute value. The attribute value is encoded according to the LDAP-specific encoding definition of its corresponding syntax. The LDAP-specific encoding definitions for different syntaxes and attribute types may be found in other documents and in particular [RFC 4517].
  • List of LDAP Controls.
  • The representation of a Distinguished Name (DN).
  • A notational convenience to indicate that the permitted value of this string is a (UTF-8 encoded) dotted-decimal representation of an ObjectIdentifier.
  • An identifier for a “Matching Rule”.
  • ID value of a corresponding request LdapMessage.
  • references to one or more servers or services that may be accessed via LDAP or other protocols.
  • The representation of a Relative Distinguished Name (RDN).
  • An LDAP String restricted to URL characters.