package ocamldap

  1. Overview
  2. Docs
Implementation of the Light Weight Directory Access Protocol

Install

Dune Dependency

Authors

Maintainers

Sources

2.3.0.tar.gz
sha256=be85eccfa45de6066238da85c6ad2a409d69df245b6cd2b740ec2bf3400b587c
md5=6137a123978ac5b0dd301af26122e437

doc/ldap/Ldap_protocol/index.html

Module Ldap_protocol

an implementation of the ldap wire protocol

val encode_resultcode : Ldap_types.ldap_resultcode -> int

return the int asociated with the specified result code

val decode_resultcode : int -> Ldap_types.ldap_resultcode

return the result code for the specified int, error codes which do not map to a code defined within the standard (or any of our own internal ones) will be represented as (`UNKNOWN_ERROR of int), where int is the unknown error code.

val encode_ldapmessage : Ldap_types.ldap_message -> string

encode a value of type ldap_message using lber and return a string which is ready to be put on the wire

val decode_ldapmessage : Lber.readbyte -> Ldap_types.ldap_message

decode an ldap_message from the wire, and build/return a structure of type ldap_message

OCaml

Innovation. Community. Security.