package ldap

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

Install

Dune Dependency

Authors

Maintainers

Sources

ldap-2.4.2.tbz
sha256=2f7fa9d27e12e3604c6f84384aa31ab98fffd06fe7c9e5354a387a15131a708e
sha512=e0e2bc1e974059bdd1f1c64a6fd4fa933307bbb055de9af4099ed407842ef455887fdfab7af7b8407bf62797ed98c2d67434200dbd54a3acc791f2493fb5da79

doc/ldap.toplevel/Ldap_toplevel/index.html

Module Ldap_toplevelSource

Functions which resemble the command line tools which many users are familar with, useful in the interactive environment

Sourceval ldapsearch : ?s:Ldap_types.search_scope -> ?a:string list -> ?b:string -> ?d:string -> ?w:string -> h:string -> string -> Ldap_ooclient.ldapentry list

connect to the specified host and perform a search.

  • parameter h

    The ldapurl which names the host and port to connect to

  • parameter d

    The dn of the object you with to bind as, default anonymous

  • parameter w

    The credentials of the object you wish to bind as, default anonymous

  • parameter s

    The scope of the search, default `SUBTREE

  • parameter b

    The base of the search The final argument is the search filter

Sourceval ldapmodify : h:string -> d:string -> w:string -> (string * (Ldap_types.modify_optype * string * string list) list) list -> unit

connect to the specified host and perform one or more modifications.

  • parameter h

    The ldapurl which names the host and port to connect to

  • parameter d

    The dn of the object you with to bind as, default anonymous

  • parameter w

    The credentials of the object you wish to bind as, default anonymous The final argument is a list of (dn, modification) pairs which you want to apply

Sourceval ldapadd : h:string -> d:string -> w:string -> Ldap_ooclient.ldapentry list -> unit

connect to the specified host and add the specified objects.

  • parameter h

    The ldapurl which names the host and port to connect to

  • parameter d

    The dn of the object you with to bind as, default anonymous

  • parameter w

    The credentials of the object you wish to bind as, default anonymous The final argument is a list of objects you wish to add

OCaml

Innovation. Community. Security.