package ocamldap

  1. Overview
  2. Docs
type msgid
type conn
type modattr = Ldap_types.modify_optype * string * string list
type authmethod = [
  1. | `SASL
  2. | `SIMPLE
]
type search_result = [
  1. | `Entry of entry
  2. | `Referral of string list
]
val init : ?connect_timeout:int -> ?version:int -> string list -> conn
val unbind : conn -> unit
val bind_s : ?who:string -> ?cred:string -> ?auth_method:[> `SIMPLE ] -> conn -> unit
val get_search_entry : conn -> msgid -> [> `Entry of Ldap_types.search_result_entry | `Referral of string list ]
val abandon : conn -> msgid -> unit
val search_s : ?base:string -> ?scope:Ldap_types.search_scope -> ?aliasderef:Ldap_types.alias_deref -> ?sizelimit:int32 -> ?timelimit:int32 -> ?attrs:string list -> ?attrsonly:bool -> conn -> string -> [> `Entry of Ldap_types.search_result_entry | `Referral of string list ] list
val add_s : conn -> entry -> unit
val delete_s : conn -> dn:string -> unit
val modify_s : conn -> dn:string -> mods:(Ldap_types.modify_optype * string * string list) list -> unit
val modrdn_s : ?deleteoldrdn:bool -> ?newsup:'a option -> conn -> dn:string -> newdn:string -> unit
OCaml

Innovation. Community. Security.