module Ooldap: sig
.. end
Object oriented interface to LDAP
Object oriented interface to LDAP
type
op = string * string list
type
op_lst = op list
type
changetype =
| |
ADD |
| |
DELETE |
| |
MODIFY |
| |
MODDN |
| |
MODRDN |
class type ldapentry_t = object
.. end
class ldapentry : object
.. end
An ldap entry, returned from a server
val iter : (ldapentry -> unit) -> (unit -> ldapentry) -> unit
useful functions for async search handling
val rev_map : (ldapentry -> 'a) -> (unit -> ldapentry) -> 'a list
val map : (ldapentry -> 'a) -> (unit -> ldapentry) -> 'a list
val fold : (ldapentry -> 'a -> 'a) -> 'a -> (unit -> ldapentry) -> 'a
class ldapcon : int option
-> bool option
-> int option
-> string
-> object
.. end
A connection to an ldap server.
type
scflavor =
| |
Optimistic |
| |
Pessimistic |
class scldapentry : Schemaparser.schema
-> object
.. end
type
generator = {
|
gen_name : string ; |
|
required : string list ; |
|
genfun : ldapentry_t -> string list ; |
}
type
service = {
|
svc_name : string ; |
|
static_attrs : (string * string list) list ; |
|
generate_attrs : string list ; |
|
depends : string list ; |
}
type
generation_error =
| |
Missing_required of string list |
| |
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 : Schemaparser.schema
-> (string, generator) Hashtbl.t
-> (string, service) Hashtbl.t
-> object
.. end