package ocamldap

  1. Overview
  2. Docs
type op = string * string list
type op_lst = op list
type referral_policy = [
  1. | `FOLLOW
  2. | `RETURN
]
type changetype = [
  1. | `ADD
  2. | `DELETE
  3. | `MODDN
  4. | `MODIFY
  5. | `MODRDN
]
class type ldapentry_t = object ... end
class ldapentry : object ... end
val format_entry : < attributes : string list ; dn : string ; get_value : string -> string list.. > -> unit
val format_entries : < attributes : string list ; dn : string ; get_value : string -> string list.. > list -> unit
type changerec = [
  1. | `Addition of ldapentry
  2. | `Delete of string
  3. | `Modification of string * (Ldap_types.modify_optype * string * string list) list
  4. | `Modrdn of string * int * string
]
val to_entry : [< `Entry of Ldap_types.search_result_entry | `Referral of string list ] -> ldapentry
class ldapcon : ?connect_timeout:int -> ?referral_policy:[> `RETURN ] -> ?version: int -> string list -> object ... end
val iter : (ldapentry -> unit) -> (?abandon:bool -> unit -> ldapentry) -> unit
val rev_map : (ldapentry -> 'a) -> (?abandon:bool -> unit -> ldapentry) -> 'a list
val map : (ldapentry -> 'a) -> (?abandon:bool -> unit -> ldapentry) -> 'a list
val fold : (ldapentry -> 'a -> 'a) -> 'a -> (?abandon:bool -> unit -> ldapentry) -> 'a
module OrdOid : sig ... end
module Setstr : sig ... end
type scflavor =
  1. | Optimistic
  2. | Pessimistic
exception Invalid_objectclass of string
exception Invalid_attribute of string
exception Single_value of string
exception Objectclass_is_required
class scldapentry : Ldap_schemaparser.schema -> object ... end
type generator = {
  1. gen_name : string;
  2. required : string list;
  3. genfun : ldapentry_t -> string list;
}
type service = {
  1. svc_name : string;
  2. static_attrs : (string * string list) list;
  3. generate_attrs : string list;
  4. depends : string list;
}
type generation_error =
  1. | Missing_required of string list
  2. | Generator_error of string
exception No_generator of string
exception Generation_failed of generation_error
exception No_service of string
exception Service_dep_unsatisfiable of string
exception Generator_dep_unsatisfiable of string * string
exception Cannot_sort_dependancies of string list
class ldapaccount : Ldap_schemaparser.schema -> (string, generator) Hashtbl.t -> (string, service) Hashtbl.t -> object ... end
OCaml

Innovation. Community. Security.